Click here to Skip to main content
15,920,603 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to round the value of a float in c# Pin
NeverHeardOfMe25-Apr-06 11:44
NeverHeardOfMe25-Apr-06 11:44 
AnswerRe: How to round the value of a float in c# Pin
Guffa25-Apr-06 12:02
Guffa25-Apr-06 12:02 
AnswerThanks!!!!!!!!!! Pin
navinkumar425-Apr-06 12:11
navinkumar425-Apr-06 12:11 
QuestionASP.net User Controls Help Pin
aurora8325-Apr-06 10:55
aurora8325-Apr-06 10:55 
AnswerRe: ASP.net User Controls Help Pin
minhpc_bk25-Apr-06 15:31
minhpc_bk25-Apr-06 15:31 
QuestionLogin Control .NET 2005 Pin
Soumya Mulukutla25-Apr-06 10:50
Soumya Mulukutla25-Apr-06 10:50 
AnswerRe: Login Control .NET 2005 Pin
minhpc_bk25-Apr-06 15:40
minhpc_bk25-Apr-06 15:40 
QuestionHow do I get the value of the DropDownList control from the CreateUserWizard? Pin
Slow Learner25-Apr-06 10:03
Slow Learner25-Apr-06 10:03 
Hello,

We have a need to customize the CreateUserWizard and we put a
DropDownList control in there. And we are filling that DropDownControl
( _drplDealers) in the page_load event of the code behind page on which
the CreatUserWizard control is existing.


This my Page_load event thats filling the drop down and this works fine
I am getting the data.


***************************************************************************­****************************
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
drplDealerShipID =
CType(CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl­("_drplDealers"),
DropDownList)
Dim GetDealers As SqlDataReader = GetGroundingBL.GetDealers()
drplDealerShipID.DataSource = GetDealers
drplDealerShipID.DataValueField = "DealerShipID"
drplDealerShipID.DataTextField = "DealerShipName"
drplDealerShipID.DataBind()
GetDealers.Close()
End Sub
***************************************************************************­*****************************


But in the CreateUserWizard1_CreatedUser event I can't get the selected
value of the _drplDealers


***************************************************************************­****************************
Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object,
ByVal e As System.EventArgs) Handles CreateUserWizard1.CreatedUser
Dim drplDealerShipID As DropDownList = _


CType(CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl­("_drplDealers"),
DropDownList)
Dim dealer As String
dealer = drplDealerShipID.SelectedValue.ToString
dealer = drplDealerShipID.SelectedValue.ToString
End Sub
***************************************************************************­*****************************


I am not sure the way I am trying to acces the dropdown control that
was filled before in the page_load event is right but it doesnt' throw
any error but I always get nothing although if I have selected a value.


Am I missing some thing here?


Thanks
-L



AnswerRe: How do I get the value of the DropDownList control from the CreateUserWizard? Pin
Slow Learner25-Apr-06 14:24
Slow Learner25-Apr-06 14:24 
AnswerRe: How to cache a output parameter??? Pin
minhpc_bk25-Apr-06 15:59
minhpc_bk25-Apr-06 15:59 
Questionasp.net Pin
yasar khan25-Apr-06 8:37
yasar khan25-Apr-06 8:37 
AnswerRe: asp.net Pin
Guffa25-Apr-06 9:11
Guffa25-Apr-06 9:11 
GeneralRe: asp.net Pin
yasar khan25-Apr-06 10:01
yasar khan25-Apr-06 10:01 
GeneralRe: asp.net Pin
Mike Ellison25-Apr-06 10:21
Mike Ellison25-Apr-06 10:21 
GeneralRe: asp.net Pin
J4amieC25-Apr-06 11:58
J4amieC25-Apr-06 11:58 
QuestionHow to Acesss GridView using JavaScript Pin
VenkataRamana.Gali25-Apr-06 8:35
VenkataRamana.Gali25-Apr-06 8:35 
AnswerRe: How to Acesss GridView using JavaScript Pin
minhpc_bk25-Apr-06 16:07
minhpc_bk25-Apr-06 16:07 
QuestionHow can I assign a 'Null' value to a SqlDataReader? Pin
Slow Learner25-Apr-06 7:30
Slow Learner25-Apr-06 7:30 
AnswerRe: How can I assign a 'Null' value to a SqlDataReader? Pin
Slow Learner25-Apr-06 8:07
Slow Learner25-Apr-06 8:07 
AnswerRe: How can I assign a 'Null' value to a SqlDataReader? Pin
Guffa25-Apr-06 8:28
Guffa25-Apr-06 8:28 
GeneralRe: How can I assign a 'Null' value to a SqlDataReader? Pin
Slow Learner25-Apr-06 10:02
Slow Learner25-Apr-06 10:02 
QuestionSerializable() in vb.net/ASP.net Pin
Rajesh_K_Sharma25-Apr-06 6:36
Rajesh_K_Sharma25-Apr-06 6:36 
AnswerRe: Serializable() in vb.net/ASP.net Pin
minhpc_bk25-Apr-06 16:15
minhpc_bk25-Apr-06 16:15 
QuestionAbrupt termination of web application Pin
Rob Philpott25-Apr-06 5:58
Rob Philpott25-Apr-06 5:58 
AnswerRe: Abrupt termination of web application Pin
minhpc_bk25-Apr-06 16:20
minhpc_bk25-Apr-06 16:20 

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.