Click here to Skip to main content
15,908,274 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionjavascript - display items in listbox matching the keys pressed Pin
ssircar19715-Feb-07 10:55
ssircar19715-Feb-07 10:55 
AnswerRe: javascript - display items in listbox matching the keys pressed Pin
Artem Kustikov5-Feb-07 21:27
Artem Kustikov5-Feb-07 21:27 
QuestionCaching based on e.CommandName Pin
DISP-Jol5-Feb-07 6:04
DISP-Jol5-Feb-07 6:04 
AnswerRe: Caching based on e.CommandName Pin
enjoycrack5-Feb-07 6:14
enjoycrack5-Feb-07 6:14 
GeneralRe: Caching based on e.CommandName Pin
DISP-Jol5-Feb-07 6:20
DISP-Jol5-Feb-07 6:20 
GeneralRe: Caching based on e.CommandName Pin
enjoycrack5-Feb-07 6:29
enjoycrack5-Feb-07 6:29 
GeneralRe: Caching based on e.CommandName Pin
DISP-Jol5-Feb-07 8:43
DISP-Jol5-Feb-07 8:43 
Questionpassing parameter to crystal report Pin
bazpaul5-Feb-07 6:03
bazpaul5-Feb-07 6:03 
Hello all,

I have been working on this project for quite some time now and to be honest i cant stand it anymore! I have a simple request, i want to get a parameter, taken from a querysting and pass it to a crystal report.

I have setup the crystal report viewer on my default.aspx page and by setting the default value of the parameter, i am able to view the crystal report. Here is the follwing code that i use

---------------------------------------------------------------------------------

<CR:CrystalReportViewer ID="rptViewer" Runat="server" AutoDataBind="True"
Height="947px" ReportSourceID="CrystalReportSource1" Width="845px" DisplayGroupTree="False" EnableDatabaseLogonPrompt="True" HasRefreshButton="True" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="SS_Server.rpt">
<Parameters>
<CR:Parameter ConvertEmptyStringToNull="False" DefaultValue="45"
Name="SERVER_ID" ReportName="" />
</Parameters>
</Report>
</CR:CrystalReportSource>

------------------------------------------------------------------------------------


This code works fine, however i want to have the parameter SERVER_ID to be taken from a querystring sent to this page! Si in my innocence i thought, instead of having the defaultvalue="45" can i use DefaultValue=" <% response.write request.querystring('server_id') %>" but this doesnt work.

I have read somewhere that like a control parameter one can code a querystring parameter! Does anyone know how to do this??

Im sure someone can help me, the idea behinf this is so simple, but im only new to Asp and am not sure where im goin wrong.

If anyone can help it would be greatly appreciated!
AnswerRe: passing parameter to crystal report Pin
DISP-Jol5-Feb-07 6:14
DISP-Jol5-Feb-07 6:14 
GeneralRe: passing parameter to crystal report Pin
bazpaul6-Feb-07 1:03
bazpaul6-Feb-07 1:03 
GeneralRe: passing parameter to crystal report Pin
DISP-Jol6-Feb-07 3:27
DISP-Jol6-Feb-07 3:27 
GeneralRe: passing parameter to crystal report Pin
bazpaul6-Feb-07 4:31
bazpaul6-Feb-07 4:31 
QuestionTextbox Validation Pin
kavi20005-Feb-07 6:01
kavi20005-Feb-07 6:01 
AnswerRe: Textbox Validation Pin
enjoycrack5-Feb-07 6:20
enjoycrack5-Feb-07 6:20 
AnswerRe: Textbox Validation Pin
Sandeep Akhare5-Feb-07 18:20
Sandeep Akhare5-Feb-07 18:20 
QuestionHai,any tools to develope DSD for asp.net web project Pin
suriee5-Feb-07 5:30
suriee5-Feb-07 5:30 
Questionsending mail Pin
girishdonde5-Feb-07 5:28
girishdonde5-Feb-07 5:28 
AnswerRe: sending mail Pin
enjoycrack5-Feb-07 6:24
enjoycrack5-Feb-07 6:24 
AnswerRe: sending mail Pin
DISP-Jol5-Feb-07 6:44
DISP-Jol5-Feb-07 6:44 
QuestionHow can i access Templated columns of datagrid in code behind Pin
www.Developerof.NET5-Feb-07 4:37
www.Developerof.NET5-Feb-07 4:37 
AnswerRe: How can i access Templated columns of datagrid in code behind Pin
Pradipta Basu5-Feb-07 7:30
Pradipta Basu5-Feb-07 7:30 
QuestionDynamic table problem Pin
Marwa Bahaa5-Feb-07 4:14
Marwa Bahaa5-Feb-07 4:14 
AnswerRe: Dynamic table problem Pin
enjoycrack5-Feb-07 6:21
enjoycrack5-Feb-07 6:21 
QuestionGirdView Sorting Pin
varshavmane5-Feb-07 3:38
varshavmane5-Feb-07 3:38 
AnswerRe: GirdView Sorting Pin
Blue_Boy5-Feb-07 4:30
Blue_Boy5-Feb-07 4:30 

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.