开发者

Multiple User Control On Same Page And reference issue with Javascript

I have one usercontrol which contain one textbox, few buttons and one calander. I had place two instance of user control in one page as design time. It works fine all working from server side...mean server side events reference proper control at runtime.

Problem start after raising server side events from javascript. I succeed to fir开发者_运维技巧e proper event from javascript as per suggetion from other thread. Still I am not able to reference specific control at server side event. It always reference to control of last user control placed on page.

In my senerio I am firing calander's selected change event by buttons click event from javascript. The event fires as I want, but always it reference to last usercontrol's Calander.

Firing server side events from jabvascript is one step towards performance of user control.

Please suggest me.


On button click event call function of specific button and find calendar by id.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜