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  







Thanks & Regards

Arindam 
Web Designer & Developer  




                
---------------------------------
How much free photo storage do you get? Store your friends n family photos for 
FREE with Yahoo! Photos. 
 http://in.photos.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