问题描述
大家好,
我打算在AJAX论坛发帖,但显然有人
今天在那里发布了一个AJAX / C#问题被告知要试试这个
论坛。所以这里是:
我正在试图弄清楚AJAX是否可以在C#.NET中动态地使用
创建的控件。我已经能够非动态地创建
创建的控件来工作,但到目前为止,我的动态控件或链接到它们的
事件都不能与AJAX一起使用。有谁知道
或我是否可以这样做?动态创建的控件是在
占位符控件上创建的。我可以让代码在没有AJAX的情况下完美地工作,
但是现在我们希望每当用户在链接按钮或按钮上点击
时都不会有任何回发。 />
Tks
Hi all,
I was going to post this in the AJAX forum, but apparently someone
posted an AJAX/C# question in there today and was told to try this
forum instead. So here goes:
I''m trying to figure out whether AJAX will work with dynamically
created controls in C#.NET. I have been able to get non-dynamically
created controls to work, but so far none of my dynamic controls or
events linked to them are able to work with AJAX. Does anyone know how
or if I can do this? The dynamically created controls are created on a
placeholder control. I can get the code to work perfectly without AJAX,
but now we want there to not be any postbacks whenever the user clicks
on a linkbutton or a button.
Tks
推荐答案
这篇关于在C#.NET中使用AJAX和动态创建的Web控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!