Click here to Skip to main content
15,883,901 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net Pin
Wes Aday29-Apr-12 3:32
professionalWes Aday29-Apr-12 3:32 
AnswerRe: asp.net Pin
Sandeep Mewara29-Apr-12 7:43
mveSandeep Mewara29-Apr-12 7:43 
AnswerRe: asp.net Pin
ZurdoDev30-Apr-12 10:41
professionalZurdoDev30-Apr-12 10:41 
Questionavoid running function in page load event of user control inside a page with in master page Pin
uglyeyes29-Apr-12 2:23
uglyeyes29-Apr-12 2:23 
AnswerRe: avoid running function in page load event of user control inside a page with in master page Pin
Rahul Rajat Singh29-Apr-12 22:44
professionalRahul Rajat Singh29-Apr-12 22:44 
GeneralRe: avoid running function in page load event of user control inside a page with in master page Pin
uglyeyes30-Apr-12 2:37
uglyeyes30-Apr-12 2:37 
GeneralRe: avoid running function in page load event of user control inside a page with in master page Pin
uglyeyes3-May-12 16:43
uglyeyes3-May-12 16:43 
QuestionHelp in processing querystring sent using jquery to asp page. Pin
ljpv1428-Apr-12 0:24
ljpv1428-Apr-12 0:24 
Here is my jquery code.

C#
if ($("#ddlRptType").val() == "Monthly") {

     var url = "reportPage.aspx?rpttype=" + $("#ddlRptType").val() + "&mm=" +  $("#ddlMonths").val() + "&yy=" + $("#ddlYear").val();

     window.open(url);
 }
 else if ($("#ddlRptType").val() == "Daily") {

     var url = "reportPage.aspx?rpttype=" + $("#ddlRptType").val() + "&date=" + $('#dailyDatePickerBox').val();

     window.open(url);
 }


Here is my server-side processing upon page load:
C#
string rpttype = Request.QueryString["rpttype"];

           switch (rpttype)
           {
               case "Monthly":
                   string mm;
                   string yyyy;
                   mm = Request.QueryString["mm"];
                   yyyy = Request.QueryString["yy"];
                   GetMonthlyData(rpttype, mm, yyyy);
                   break;
               case "Daily":
                   string stringdate;
                   stringdate = Request.QueryString["date"];
                   GetDailyData(stringdate, rpttype);
                   break;
           }


I have a dropdownlist where I could choose between, daily, weekly and monthly. I verified that the query string is being passed from my jquery code to my receiving page, but sadly it won't proceed to my GetDailyData method. But when I choose Monthly, it works just fine. I put a break point at line:
C#
stringdate = Request.QueryString["date"];

but I can't see its value. I've been trying to debug this for 2 days but I can't figure it out. Thank you guys!
AnswerRe: Help in processing querystring sent using jquery to asp page. Pin
Ali Al Omairi(Abu AlHassan)29-Apr-12 0:26
professionalAli Al Omairi(Abu AlHassan)29-Apr-12 0:26 
AnswerRe: Help in processing querystring sent using jquery to asp page. Pin
ZurdoDev30-Apr-12 10:42
professionalZurdoDev30-Apr-12 10:42 
QuestionA session handling problem (need experts' advise) Pin
Rahul Rajat Singh27-Apr-12 22:49
professionalRahul Rajat Singh27-Apr-12 22:49 
AnswerRe: A session handling problem (need experts' advise) Pin
Parwej Ahamad27-Apr-12 23:31
professionalParwej Ahamad27-Apr-12 23:31 
GeneralRe: A session handling problem (need experts' advise) Pin
Rahul Rajat Singh29-Apr-12 19:52
professionalRahul Rajat Singh29-Apr-12 19:52 
AnswerRe: A session handling problem (need experts' advise) Pin
ZurdoDev30-Apr-12 10:44
professionalZurdoDev30-Apr-12 10:44 
GeneralRe: A session handling problem (need experts' advise) Pin
Rahul Rajat Singh30-Apr-12 17:07
professionalRahul Rajat Singh30-Apr-12 17:07 
GeneralRe: A session handling problem (need experts' advise) Pin
ZurdoDev1-May-12 1:58
professionalZurdoDev1-May-12 1:58 
Questionweb app 2010 deploy Pin
dcof27-Apr-12 17:23
dcof27-Apr-12 17:23 
AnswerRe: web app 2010 deploy Pin
Parwej Ahamad27-Apr-12 23:41
professionalParwej Ahamad27-Apr-12 23:41 
GeneralRe: web app 2010 deploy Pin
dcof28-Apr-12 4:23
dcof28-Apr-12 4:23 
QuestionStylesheet to print the background-image on the web page Pin
indian14327-Apr-12 12:02
indian14327-Apr-12 12:02 
Questionhow authenticate aspnet using SQLSERVER Pin
alsayani27-Apr-12 5:46
alsayani27-Apr-12 5:46 
AnswerRe: how authenticate aspnet using SQLSERVER Pin
Joshua Omundson27-Apr-12 11:09
Joshua Omundson27-Apr-12 11:09 
GeneralRe: how authenticate aspnet using SQLSERVER Pin
alsayani27-Apr-12 23:54
alsayani27-Apr-12 23:54 
AnswerRe: how authenticate aspnet using SQLSERVER Pin
Joshua Omundson3-May-12 6:09
Joshua Omundson3-May-12 6:09 
Questiondeveloping a secure asp.net application? Pin
Alok Sharma ji27-Apr-12 0:00
Alok Sharma ji27-Apr-12 0:00 

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.