Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp .net web development Pin
koolprasad200320-Dec-16 22:43
professionalkoolprasad200320-Dec-16 22:43 
QuestionNeed help on passing id to next page on response.redirect Pin
Bootzilla3318-Dec-16 10:43
Bootzilla3318-Dec-16 10:43 
AnswerRe: Need help on passing id to next page on response.redirect Pin
F-ES Sitecore18-Dec-16 21:59
professionalF-ES Sitecore18-Dec-16 21:59 
QuestionData not updating on fields using UPDATE Statement Pin
Bootzilla3318-Dec-16 10:41
Bootzilla3318-Dec-16 10:41 
AnswerRe: Data not updating on fields using UPDATE Statement Pin
Richard Deeming19-Dec-16 2:33
mveRichard Deeming19-Dec-16 2:33 
GeneralRe: Data not updating on fields using UPDATE Statement Pin
Bootzilla3319-Dec-16 8:21
Bootzilla3319-Dec-16 8:21 
AnswerRe: Data not updating on fields using UPDATE Statement Pin
ZurdoDev19-Dec-16 8:25
professionalZurdoDev19-Dec-16 8:25 
QuestionDropdown pre-filled from prior page fires off required validator Pin
Bootzilla3315-Dec-16 9:54
Bootzilla3315-Dec-16 9:54 
I have a dropdown(code is name of the dropdown) that when coming from another page it prefills with a value, the required validator fires off. I have a select statement that fills in all textboxes and dropdowns on this page. When I open this page by itself the validation functions as normal meaning when I select a value from the dropdown no validation and when it is blank it validates. Here is the code for the select statement and reading in the data on page load:

C#
OracleConnection conn = new OracleConnection();
            OracleCommand cmd = new OracleCommand();
            conn.ConnectionString = strConnection;
            conn.Open();

            cmd.Connection = conn;
            cmd.CommandText = "Select RID, CODE, CUSTOMER_NAME from ACTIVITY WHERE ID = :IDValue";
            //Add values to paramter
            cmd.Parameters.Add(new OracleParameter("IDValue", Request.QueryString["ID"]));

            OracleDataAdapter da = new OracleDataAdapter(cmd);
            cmd.CommandType = CommandType.Text;
            OracleDataReader dr = cmd.ExecuteReader();

            name.Text = dr["customer_name"].ToString();
            code.SelectedItem.Text = dr["code"].ToString();

            dr.Close();
            conn.Close();


I know this has Oracle code in it but it is more of a C#/ASP.net question.
AnswerRe: Dropdown pre-filled from prior page fires off required validator Pin
Richard Deeming16-Dec-16 2:05
mveRichard Deeming16-Dec-16 2:05 
GeneralRe: Dropdown pre-filled from prior page fires off required validator Pin
Bootzilla3316-Dec-16 6:49
Bootzilla3316-Dec-16 6:49 
GeneralRe: Dropdown pre-filled from prior page fires off required validator Pin
Richard Deeming16-Dec-16 9:54
mveRichard Deeming16-Dec-16 9:54 
GeneralRe: Dropdown pre-filled from prior page fires off required validator Pin
Bootzilla3316-Dec-16 17:15
Bootzilla3316-Dec-16 17:15 
GeneralRe: Dropdown pre-filled from prior page fires off required validator Pin
Richard Deeming19-Dec-16 1:58
mveRichard Deeming19-Dec-16 1:58 
QuestionNon-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method error. Pin
Bootzilla3315-Dec-16 9:45
Bootzilla3315-Dec-16 9:45 
AnswerRe: Non-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method error. Pin
Michael_Davies15-Dec-16 10:10
Michael_Davies15-Dec-16 10:10 
AnswerRe: Non-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method error. Pin
ZurdoDev15-Dec-16 10:28
professionalZurdoDev15-Dec-16 10:28 
AnswerRe: Non-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method error. Pin
Afzaal Ahmad Zeeshan15-Dec-16 11:48
professionalAfzaal Ahmad Zeeshan15-Dec-16 11:48 
QuestionJavascript Book(s) Pin
Patrick Rogers15-Dec-16 6:29
Patrick Rogers15-Dec-16 6:29 
AnswerRe: Javascript Book(s) Pin
Richard MacCutchan15-Dec-16 6:42
mveRichard MacCutchan15-Dec-16 6:42 
AnswerRe: Javascript Book(s) Pin
Kornfeld Eliyahu Peter15-Dec-16 8:35
professionalKornfeld Eliyahu Peter15-Dec-16 8:35 
AnswerRe: Javascript Book(s) Pin
ZurdoDev15-Dec-16 9:06
professionalZurdoDev15-Dec-16 9:06 
QuestionASP.NET MVC Single Page Application with Type Script Pin
indian14314-Dec-16 16:51
indian14314-Dec-16 16:51 
AnswerRe: ASP.NET MVC Single Page Application with Type Script Pin
Richard MacCutchan14-Dec-16 22:03
mveRichard MacCutchan14-Dec-16 22:03 
AnswerRe: ASP.NET MVC Single Page Application with Type Script Pin
Afzaal Ahmad Zeeshan15-Dec-16 6:27
professionalAfzaal Ahmad Zeeshan15-Dec-16 6:27 
GeneralRe: ASP.NET MVC Single Page Application with Type Script Pin
indian14315-Dec-16 7:54
indian14315-Dec-16 7:54 

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.