Dynamic user control

2 posts, 0 answers
  1. monalisa
    monalisa avatar
    6 posts
    Member since:
    Nov 2008

    Posted 17 Dec 2008 Link to this post

    I have two usercontrol as "Search" and "Registration",which am loading in a placeholder dynamically and even it is getting loaded
    In my search usercontrol i have a grid with all user and if am selecting a particular row all the deatils value is displayed in registration page which i did in the following way (loading the registration page in the same placeholder and showing details based on session value)


    protected void grdUserInfo_SelectedIndexChanged(object sender, EventArgs e)




    pkid.Value =grdUserInfo.SelectedRow.Cells[1].Text;



    "pkidValue"] = pkid.Value;


    MasterPage Master = new MasterPage();

     Master.ID = 





    PlaceHolder plc = ((PlaceHolder)this.Page.Master.Master.FindControl("SplitterContentPlaceHolder"). FindControl("SmartChartContentAreaHolder").FindControl("tabstrip1").FindControl("UpdatePanel1"). FindControl("PlaceHolder1"));





    string controlPath = "Registration.ascx";




    UserControl uc = (UserControl)LoadControl(controlPath);



     uc.ID = 







    Now when am clicking update  button on registration page  the updatebtn click event is not getting fired and again search usercontrol is getting displayed.
    plz any one help me how can i fire that update btn click event.



  2. Paul
    Paul avatar
    4281 posts

    Posted 17 Dec 2008 Link to this post

    Hello monalisa,

    Please answer our questions in Ticket 178070.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top