to chk a control is present or not using codebehind
-
how to chk a control is present or not using codebehind for eg if tis hyperlink ctrl "HylEdit.Text" is not present then the code should skip the control and apply changes to the controls present on that pages for egs, if HylEdit.Text is not present then it should chk for next ctrl lik HylView.Text if the above ctrl is present the it shoul apply for HylView.Text=rm.GetString("View", ci) the fn is lik tis Private Sub LoadStrings(ByVal ci As CultureInfo) HylEdit.Text = rm.GetString("Add", ci) BtnClear.Text = rm.GetString("Clear", ci) BtnSave.Text = rm.GetString("Save", ci) HylView.Text = rm.GetString("View", ci)
-
how to chk a control is present or not using codebehind for eg if tis hyperlink ctrl "HylEdit.Text" is not present then the code should skip the control and apply changes to the controls present on that pages for egs, if HylEdit.Text is not present then it should chk for next ctrl lik HylView.Text if the above ctrl is present the it shoul apply for HylView.Text=rm.GetString("View", ci) the fn is lik tis Private Sub LoadStrings(ByVal ci As CultureInfo) HylEdit.Text = rm.GetString("Add", ci) BtnClear.Text = rm.GetString("Clear", ci) BtnSave.Text = rm.GetString("Save", ci) HylView.Text = rm.GetString("View", ci)
findControl(Control). If it is NULL it is not there.
In Word you can only store 2 bytes. That is why I use Writer.
-
findControl(Control). If it is NULL it is not there.
In Word you can only store 2 bytes. That is why I use Writer.
if the ctrl is not there declaration error is comin in find control statement... if i fincontrol gridviw which is not in t page it shows errror tat gridview is not declared
-
how to chk a control is present or not using codebehind for eg if tis hyperlink ctrl "HylEdit.Text" is not present then the code should skip the control and apply changes to the controls present on that pages for egs, if HylEdit.Text is not present then it should chk for next ctrl lik HylView.Text if the above ctrl is present the it shoul apply for HylView.Text=rm.GetString("View", ci) the fn is lik tis Private Sub LoadStrings(ByVal ci As CultureInfo) HylEdit.Text = rm.GetString("Add", ci) BtnClear.Text = rm.GetString("Clear", ci) BtnSave.Text = rm.GetString("Save", ci) HylView.Text = rm.GetString("View", ci)
Are you testing Visual Studio.NET? By the way, not a bad idea for next version of VS2010. :)
There is no foolish question, there is no final answer...