Author: anileshlakhtakia | Posted on: 6/8/2007 10:36:59 AM | Views : 1137

Hi ,

I have a wizard Control on a page and on this page i have a User Control.On this User Control i have a button.I want to do a post back the Page by javascript code.

When i write __doPostBack("Button1"",OnClick") on ascx page the server post back occur but the button click event not fire.I am using the Master Page also.I know that the Client id of Control will change if we user Master Page,User Control and Wizard So i Have tried with

 __doPostBack("ctl00_ContentPlaceHolder1_Wizard1_Grids1_Button1","OnClick") and also the code like this:--

On page load i write Textbox1.Attribute.Add("onblur","Post("+Button1.ClientID+")") and

Go to the complete details ...