|
I have a report in Crystal Report that has parameter. when the report is loaded in ASP.NET doesn't show the prompt to enter the value for the report. Any suggestion ? I appreciate your help.
|
|
|
|
|
Why not have the parameter in code and just have the user enter the parameter through a webform?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I don't have any idea how to write the parameter in code.
|
|
|
|
|
I am looking for the code or the codes of like works to the parameters of Crystal Report in C#. I need help about it. I appreciate your help..
|
|
|
|
|
Hi all,
I used the following code when the page used normal html tables, now that I changed it to asp tables it is no longer valid, how can I loop that row using asp table?
<%for (int i = 0; i << MenuItems.Tables[0].Rows.Count; i++)
{
%>
<asp:TableRow style="height:26px">
<asp:TableCell style="background-image:url(<%=navigationImage %>); text-align:center; vertical-align:middle"><a href="<%=MenuItems.Tables[0].Rows[i]["menu_url"].ToString() %>"><%=MenuItems.Tables[0].Rows[i]["menu_text"].ToString() >></a>
</asp:TableCell>
</asp:TableRow>
<%
}
%>
thanks in advance
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Are you adding TableRow in asp Table ?
I Love SQL
|
|
|
|
|
Yes, that is all Client side within the asp:Table.
Basically what happens is that I load the menu items from the db, then for each link I want to add a row. I first used a normal html for that and it worked, now I changed it to an asp:Table and it tells me that "Code Blocks in this context is not supported"
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
|
Thanks, I changed the asp Table back to a normal html table and got it working.
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Can anyone please explain the difference between these two different version.
Please give some article or your answer as soon as possible.What are the advantages of 2.0 over 1.1
adil kazmi
|
|
|
|
|
|
|
It's amazing why some people are not using themselves using google to find easy lot of information.
Anyway it's my pleasure to help others.
thanks 4 ur 5
I Love SQL
|
|
|
|
|
adilkazmi wrote: Please give some article or your answer as soon as possible
Certainly sir, shine your shoes too while you wait?
|
|
|
|
|
|
Well... if It's in the onload of the master page, that means it will be among the very first lines of code executed in your application. Thus, it will be checking for the session variable, in all likelyhood, before you can get the chance to set it.
Before using the session variable in any way, try checking first to see if it's null, or use a try catch block to stave off unhandled exceptions until you can set the session variable.
|
|
|
|
|
Where can you set the default values for Session Variables? In asp it used to be in the Global.asa file under Session_OnStart, but where do you do it in asp.net?
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Strangely in a very similarly named method in the global.asax...
|
|
|
|
|
Thanks, I was under the impression that the web.config replaced the global.asa
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
dekart_roo wrote: Well... if It's in the onload of the master page, that means it will be among the very first lines of code executed in your application. Thus, it will be checking for the session variable, in all likelyhood, before you can get the chance to set it.
This is not really accurate (not trying to offend anyone).
If you use a master page (with a content page obviously) the order of events (I might miss one) are as follows.
Keys:
C = content page
M = master page
1) Pre_init (C)
2) Page_init (M)
3) Page_init (C)
4) Page_init_complete (C)
5) Page_load (C)
6) Page_load (M)
7) Page_PreRender (M)
Part of the reason for the events taking place like this is it gives you the flexibility of manipulating "something" on the master page based of "something" on the content page.
Just thought someone might find this usefull.
|
|
|
|
|
I take it that you received a NullReferenceException?
I had the same issue, my problem was that the Session("X") did not have a value before I tried to access it.
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Hi,
i need to create a dockable window in asp.net 2.0.showing the controls of a webpage,it should get opened on a button click .
how it can be done? Any references / code please
thanx
|
|
|
|
|
What exactly you are looking for ?
do you need dockable window in asp.net which should simulate like VS 2005 interface ? If you look for similar to this you can find DOCK MANAGER over the internet. Hope it may give you some information
from
krishna
|
|
|
|
|
I am looking for help on the above in a web app. Has anyone any code snippets that could help me?
Many thanks
Janet
|
|
|
|
|
i ve created a popup window using a hyperlink,where we r going to do search for particular items using some search condns and the search result from the datagrid ve to b displayed in the main window after submitting the search button in the popup window,how to do this please help
|
|
|
|