Author: Peter Fehrman | Posted on: 6/15/2009 3:26:50 PM | Views : 342

Hi!
I am using jQuery.ajax() to dynamically load a User Control via a Generic Handler to a tab menu ( jQuery.tabs() ). In my ajax call I 'convert' my User Control to a String. The problem is that when my programmatically created HtmlForm is rendered from my Generic Handler the Action-property is set to my ashx-file. So of course the click-event for an example, a Button doesn't run. In Firebug it calls ProfileMenu.ashx. I have tried to use Request.RawUrl, this doesn't work either. The aspx-page where my tab menu is placed is called Profile.aspx?ID={Some User ID}. I have tried to set the Action-property programmatically to Profile.aspx?ID={UserID} but still the event doesn't run.
 What can I try more?

Here is my Generic Handler:
 
1 string userControl = context.Request.QueryString["userControl"]. ...

Go to the complete details ...