Click here to Skip to main content
15,918,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: aspnet_wp.exe cpu utilization 100% Pin
Sandeep Akhare24-May-07 1:38
Sandeep Akhare24-May-07 1:38 
AnswerRe: aspnet_wp.exe cpu utilization 100% Pin
kubben24-May-07 2:38
kubben24-May-07 2:38 
QuestionCalender popup Pin
deep724-May-07 0:48
deep724-May-07 0:48 
AnswerRe: Calender popup Pin
kubben24-May-07 2:40
kubben24-May-07 2:40 
GeneralRe: Calender popup Pin
deep724-May-07 3:38
deep724-May-07 3:38 
GeneralRe: Calender popup Pin
kubben24-May-07 3:54
kubben24-May-07 3:54 
GeneralRe: Calender popup Pin
kubben24-May-07 7:20
kubben24-May-07 7:20 
Questionfetching the property value from a usercontrol which is in another usercontrol [modified] Pin
Sandeep_Kumbhar24-May-07 0:46
Sandeep_Kumbhar24-May-07 0:46 
I have a main page. This main page contains a usercontrol. This usercontrol has another user control which contains a textbox. The text box value is set in a property.
I want the property name with the value from the main page. How can i get it?

I have tried the following:

main page.aspx
==============
<uc1:CtlGridCheckBox></uc1:CtlGridCheckBox>

main page.aspx.cs
=================
string a;
UserControl us = (UserControl)this.CtlGridCheckBox1.FindControl("CtlGridCheckBox1_1");
TextBox txt = (TextBox)usFindControl("text");
a = txt.Text;

CtlGridCheckBox.ascx
=======================
<uc1:CtlGridCheckBox1></uc1:CtlGridCheckBox1>


CtlGridCheckBox1.ascx.cs
=======================
string _name;
public string Name
{
get { return _name; }
set { _name = value; }
}

protected void Page_Load(object sender, EventArgs e)
{
_name = text.Text.ToString();
}


In this CtlGridCheckBox1 is within CtlGridCheckBox.
CtlGridCheckBox1 has the property "Name" whose value I want to access in main page.

Its urgent......

Sandeep Kumbhar



-- modified at 1:21 Friday 25th May, 2007
AnswerRe: fetching the property value from a usercontrol which is in another usercontrol Pin
Sandeep_Kumbhar24-May-07 19:22
Sandeep_Kumbhar24-May-07 19:22 
QuestionGridview + asp.net 2.0 + c# Pin
ritu432124-May-07 0:43
ritu432124-May-07 0:43 
AnswerRe: Gridview + asp.net 2.0 + c# Pin
enjoycrack24-May-07 0:47
enjoycrack24-May-07 0:47 
GeneralRe: Gridview + asp.net 2.0 + c# Pin
ritu432124-May-07 0:55
ritu432124-May-07 0:55 
GeneralRe: Gridview + asp.net 2.0 + c# Pin
enjoycrack24-May-07 0:57
enjoycrack24-May-07 0:57 
GeneralRe: Gridview + asp.net 2.0 + c# Pin
ritu432124-May-07 1:04
ritu432124-May-07 1:04 
GeneralRe: Gridview + asp.net 2.0 + c# Pin
enjoycrack24-May-07 1:10
enjoycrack24-May-07 1:10 
AnswerRe: Gridview + asp.net 2.0 + c# Pin
Nouman Bhatti24-May-07 2:46
Nouman Bhatti24-May-07 2:46 
Questionwebpartmanager Pin
pchakma_buet24-May-07 0:38
pchakma_buet24-May-07 0:38 
Questionhow to upload an excel file and store it in database Pin
sooreeagt24-May-07 0:15
sooreeagt24-May-07 0:15 
AnswerRe: how to upload an excel file and store it in database Pin
Sherin Iranimose24-May-07 0:30
Sherin Iranimose24-May-07 0:30 
QuestionHow To highlight a row or a column in a datagrid....? Pin
Balagurunathan S24-May-07 0:04
Balagurunathan S24-May-07 0:04 
AnswerRe: How To highlight a row or a column in a datagrid....? Pin
enjoycrack24-May-07 0:34
enjoycrack24-May-07 0:34 
GeneralRe: How To highlight a row or a column in a datagrid....? Pin
Balagurunathan S24-May-07 0:41
Balagurunathan S24-May-07 0:41 
GeneralRe: How To highlight a row or a column in a datagrid....? Pin
enjoycrack24-May-07 0:44
enjoycrack24-May-07 0:44 
AnswerRe: How To highlight a row or a column in a datagrid....? Pin
Harini N K24-May-07 0:49
Harini N K24-May-07 0:49 
Questionpassing an array between ASP pages using C# Pin
rkherath23-May-07 23:31
rkherath23-May-07 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.