Hi Champs, 
Pls look at the following problem .

Error I am getting 
 System.NullReferenceException: Object reference not set to an instance of an 
object

pointing at objTopmenu.Table_Menu.Rows[1].Cells[1].BorderWidth=2;   

 


TopMenus objTopmenu=new TopMenus(); // here inatance is created sucessfully

//the below line giving error, where trying to set the Cells border width of 
<asp:Table id="Table_Menu" runat="server"> of user control
objTopmenu.Table_Menu.Rows[1].Cells[1].BorderWidth=2;


// this step also i ahve done in Page_Load, of the page i am calling 
usercontrol from
Control Ctl1= LoadControl("Include/TopMenus.ascx");
Page.Controls.Add(Ctl1);   



Thanks & Regards

Arindam 
Web Designer & Developer  




                
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection 
for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to