glug-certifications: Half-off MS Cert exam

9 views
Skip to first unread message

Tim

unread,
Jul 27, 2009, 2:59:37 PM7/27/09
to glug-cert...@googlegroups.com
I just got the MSDN flash newsletter for August. They were talking about the new MSDN Thrive web site. On that site, they had a link to get a MS cert exam half-off. Great timing!

http://www.msdnevents.com/thrivedev/CertOffer.aspx or go to http://www.microsoft.com/click/thrivedev/ and wait for the ad (lower-left) to cycle-through to the ad.

TG

Mandeep Janjua

unread,
Jul 28, 2009, 5:32:58 PM7/28/09
to glug-cert...@googlegroups.com
Hi,
 
I may not be able to attend tomorrow's meeting as I have to go some where urgently. I will try to come but not sure.
 
FYI - Tomorrow, I am the speaker for chapter 12. Backup guy please try to cover me.
 
I am so sorry for late notice.
 
Thanks,
Mandeep.


Share your memories online with anyone you want anyone you want.

Mandeep Janjua

unread,
Jul 30, 2009, 5:04:15 PM7/30/09
to glug-cert...@googlegroups.com
Hi Folks,

I am facing following problem, please let me know even if you have some clue on how to solve it.


I am adding a usercontrol of custom type to tabpanel (child control ofAjaxControlToolkit.TabContainer type) with following code -

aTabCtl.ActiveTab.Controls.AddAt(0, LoadControl(sCurrentControl.ToString()))

'aTabCtl is declared and initialised somewhere else

Dim lTUC As VMS_TabUserControl
        'old lTUC = CType(aTabCtl.SelectedTabObject.ContentPane.UserControl, VMS_TabUserControl)
        lTUC = CType(aTabCtl.ActiveTab.Controls(0), VMSDotNet.VMS_TabUserControl)


immediately after adding I am retrieving the custom control using following code, it is doing fine so far -

 Dim lTUC As VMS_TabUserControl

lTUC = CType(aTabCtl.ActiveTab.Controls(0), VMSDotNet.VMS_TabUserControl)



VMSDotNet.VMS_TabUserControl is type of usercontrol.



here is the problem part - when I do the postback and try to retrive the tab using following code -

CType(_uwtBase.ActiveTab.Controls(0), VMSDotNet.VMS_TabUserControl)

it returns me the control of type System.web.ui.control, I don't know why and it throws me an error saying it can't convert from type System.web.ui.control to VMSDotNet.VMS_TabUserControl. I am not able to get it why it is changing the type of user control to System.web.ui.control from VMSDotNet.VMS_TabUserControl after postback.

Please let me know with your great ideas what can be the cause behind this problem.


Thanks,

Mandeep.



Property Search. Search FREE! on MSN Real Estate for all your property needs Share photos while you chat with Windows Live Messenger.

Sainey M. T. Drammeh

unread,
Aug 3, 2009, 6:57:51 PM8/3/09
to glug-cert...@googlegroups.com
Mandeep,
 
Here is a link that might give you some ideas: http://forums.asp.net/p/1300797/2549891.aspx
 
Silly question, but who knows... Did you set EnableViewState to True?
 
Sainey

Mandeep Janjua

unread,
Aug 3, 2009, 10:34:22 PM8/3/09
to glug-cert...@googlegroups.com
thanks sainey, I got the problem solved.
 
Thanks to Wally McClure(morewally.com), he helped me in solving the issue. I met him at Lansing day of .net.
 
Before I was adding controls to the tabpanel only when ispostback was false but now I am adding always, whether page is posted back or not.
 
Thanks,
Mandeep.

 

Date: Mon, 3 Aug 2009 18:57:51 -0400
Subject: Re: Issue with adding controls to tabpanel
From: sain...@gmail.com
To: glug-cert...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages