c# - pass textbox value of one web part to another webpart in MOSS 2007 -
I want to give value to a text box, which is in another user part in a user control (.ascx) page. In the second web portal Six pages
The code in the web part looks like this.
Protected Override Zero CreateChildControls () {base.CreateChildControls (); _childControl = Page.LoadControl ("~ / _CONTROLTEMPLATES / MyFolder / MyPage.ascx"); this. Control. AddAt (0, _childControl); } I have a text box inside MyPage.ascx and I want to use that value in the other webpattel.
I tried to create the interface and communication channels, but I do not
any help would be appreciated.
TIA,
IDAD
ps: I'm new to SharePoint
The way to solve some solution or the way I tried P>
The value of the textbox or the variable is either a query string or static variable or The session should be passed through the variable.
Static variables should be used only when you feel that the data is retained by them closes for Kaus reassons your application.
To use session variables, the session should be activated by the SharePoint Administrator.
The question string is security when one of the viable solutions is not much worried.
Comments
Post a Comment