|
are you asking for global variable in the client....
For that use Cookie...
And access the cookie through javascript
|
|
|
|
|
Hi all
I have used crystal reports to print INVOICE in ERP application.
Every thing works fine. But the problem is that every after some random interval crystal report page stops displaying and throws error.
It may be that their is some memory leak.
I have server(IBM) with good configuration.
RAM is 4gb.
large temporary files are created by my appliaction in C:/WINDOWS/TEMP
Its very urgent. PLs give the solutions.
Sincerely yours
Ashish Jha
Software Engineer
|
|
|
|
|
Member 3931259 wrote: Every thing works fine. But the problem is that every after some random interval crystal report page stops displaying and throws error.
Seriously, you need to tell us what the error is.
Member 3931259 wrote: It may be that their is some memory leak.
When using CR you really need to take care of your garbage collection. It uses a LOT of memory.
Member 3931259 wrote: Its very urgent. PLs give the solutions.
This sentence is considered rude by very many people.
|
|
|
|
|
Hi All,
Can you send me the code to connect to oracle 10g with asp.net 2.0 using ldap not tnsnames.ora. Through toad i am able to do it but from code it is giving me error. Please let me know the solution.
thanks
avinash
|
|
|
|
|
Are you using ODP.Net?
If so, the following connection string should work:
Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;
All you need to do is create a new instance of the OracleConnection, providing it with that connection string.
|
|
|
|
|
Hi all,
I have a customer who enters cases to his application and displays them in a gridview. The problem and after 2 years of using this application the page that holds the gridview is taking too much time to display with thousands of records in ONE page in this gridview. The user refused to do paging on the gridview. He wants them in one page with a scroll. Is there a way i can do that in another way? Or can i show him lets say first 50 and then on scrolling i do a binding again with out him feeling it is doing so, maybe using ajax loading panel without causing the page to reload???? but when told him so he answered he want it very very and very fast....
Any ideas and thanks in advance.
|
|
|
|
|
Ask him why he wants it in one page in a scroll?
You need to page this in some way, however you do it, there will be a sligtht loading interval. Is suggest you find out why he needs it in one page and try and provide something to help him out there (i.e. is he using the ctrl+F to find items in his list - could you provide a 'search' for him).
|
|
|
|
|
Hi all,
In my application am creating dynamic control as button inside placeholder, but i need to call javascript function for the button click, i dont thing this is possible, if any one knows for this solution plz answer me....
kannak
|
|
|
|
|
You are creating dynamic controls using javascript or in server side.
I think you can easily use
var but = document.createElement('input');
but.type= "button";
but.onClick = function(){ alert('button clicked');};
document.appendChild(but);
to do your job.
Hope this helps
|
|
|
|
|
Hi Abhishek,
Actually server side button is created dynamically inside placeholder control in a page as like as below,
dim btn as new button
dim plcHolder as new placeholder
PlcHolder.Controls.Add(btn)
So button is created sucessfully , but i want to call javascript function when click this button. I think u can understand right now, if u knows Plz answer me,
Thank You,
kannak
|
|
|
|
|
Hi sekannak,
you can add onclick attribute to the button before adding it to the placeholder.
dim btn as new button
dim pclHolder as new placeholder
btn.attributes.add("onclick","alert('hello');")
plcHolder.Controls.Add(btn)
hope this helps.
Remember, your work is not yours alone. Somewhere, there are some codes written by others amongst us that depends on your work. By failing to see that you are part of their ecosystem, you are bound to break their code. *http://dotnetrandz.blogspot.com*
|
|
|
|
|
Hi,
Its working, Thanks you....
kannak
|
|
|
|
|
no problem.
Remember, your work is not yours alone. Somewhere, there are some codes written by others amongst us that depends on your work. By failing to see that you are part of their ecosystem, you are bound to break their code. *http://dotnetrandz.blogspot.com*
|
|
|
|
|
Can you not just set the onclientclick property on the button you are adding to the placeholder?
I.e.
Button btn = new Button();
btn.Text = "Show";
btn.OnClickClick = "alert('Hello');";
placeholder1.Controls.Add(btn);
|
|
|
|
|
hi All
i m working an asp.net application and i want to invoke/call Oracle Report Developer report using C# asp.net. i m very familiar with Crystal Report but not worked with Oracle Report.
can anybody please help me how can i call Oracle Report using C# Asp.net?
what line of code required?
thanks in advance
MF
|
|
|
|
|
hello
i have grid which is in div tag.
(i want to set div with with javascript only)
i want javascript function in which i want to set div width
but after grid binding completion
how can i call javascript fun after grid ginging complition
|
|
|
|
|
hi,
I am using an Panel control on my website. Inside the panel control I have various text boxes. I have validations for the textboxes. Also I have applied a master page to this web page. I have set the default button for this panel as submit button inside the panel. On master page I have another text boxes for user to log in. when I fill the data in the text boxes inside the panel completely or incompletely, default button should get clicked but it is not happening with my example,. I tried it by taking submit button outside the panel, then also it is not working.
What should i do???????
|
|
|
|
|
When you use a master page you have to list the containing control followed by a $ and then the name of the default button like this DefaultButton="Login1$LoginButton" or DefaultButton="[Panel Name]$[Button Name]
Hope this helps!
|
|
|
|
|
How to hide the gridview column onclick of button(which is outside the gridview) in javascript
I have written follwing code in javascript function but its throwing the error :
var gv = document.getElementById('<%=gvEmpDetails.ClientID%>');
gv.Columns[19].Visible=false;
Error : 'Columns.19' is null or not an object
wht is the problem?
|
|
|
|
|
Data Source of Crystal Report 11 Can be a Dataset or store procedure.Can any one tell me which one is better.Either fetch data from Database and fill it in dataset and assign it to crystal report or give crystal report datasource direct to store procedure.?
Please explain benifits and draw backs of them
And what about speed issue.If Crystal report has data soure stored procedure will be loaded fast or Report having datasource Dataset will be loded fast?
|
|
|
|
|
I would lean towards a SP, that is what I use on all reports. If you decide to use SP, I would suggest that you would use a SP in each of your reports. This makes working with reports especially nicer if you are working with Infoview/Business objects.
The only downside that I can think of is the limitation of is passing multiple values in a parameter from Crystal to the SP, a work around is to parse a comma separated strings. I don’t care to have a Crystal Record selection with a SP it seems redundant and a waste of resources. I can probably think of quite few pros for using a SP but I will just list a few:
1. You have more control of data result, there are many data routines that just is not efficient to try to do in one query statement.
2. You separate your data logic from your report design. Many time I will provide the data and someone else will write the report.
3. If you decide that you don’t like Crystal anymore and you will likely have an easier time with a conversion.
4. You control how the query is written thus if you have performance issues later you can adjust the query without even opening the report.
5. Without go in situations, you also can have a Crystal report execute a SP and that SP updates other tables.
I hope this helps
John
|
|
|
|
|
wasting time in this web site and forum!!
|
|
|
|
|
So this is your attitude simply becuase you ask a very broad question and expect someone to spend their time writing code for you to use. The people who respond to questions do so unpaid, in their own time. If you refuse to accept their advice then you probably need to go to a paid for sercvice on some other site. There are many article on google relating to exporting to PDF, the original problem you had, so get off you lazy ass and do your own research.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
So please stop wasting OUR time and stop spamming this forum
|
|
|
|
|
hi,
I have a file upload control on a website.I have given validations to this control. When I click on a browse button by a mouse it show a browse panel, but when i go through a keyboard and when a control is on a browse button and i press the enter key, it shows error message that i have given in validation control.
how should i get the solution for this????
|
|
|
|