Fire the Binding on all Control


Author
Message
Olivier
Olivier
StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)StrataFrame User (196 reputation)
Group: StrataFrame Users
Posts: 96, Visits: 805
hello

Have you a method to run a code which we can get a DataBind of all the control ?

Cause i use RadtabStrip of telerik (PageFrame) and each page load from WebUserControl.

All the textbox don't fired the bindfield and i would like get a method to DataBind the Controls.


my textbox are store in WebUserControl, the WebUserControl work when i add in a page,

But if i load dynamically  like this , it's doesn't work, the textbox don't bind the Field.
I have my empty value instead of.

  protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e)
        {
            string userControlName = e.PageView.ID + "CS.ascx";
   
            Control userControl = Page.LoadControl(userControlName);
            userControl.ID = e.PageView.ID + "_userControl";
   
            e.PageView.Controls.Add(userControl);

            this.RadTabStrip1.DataBind();
        }

Thanks
Olivier,

==============================================
Asp.net C# - Strataframe - telerik
==============================================
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search