|
I have a table of data in the aspx web page. I am
printing it in landscape paper (11 X 8.5 inches). If
the table has more columns which cannot fit in the
page, then last few columns will not be printed. Is
there any trick or workaround to print all the columns
in IE 6? If it is not possible to fit all the columns
in one page width, then it should print the remaining
columns in another page.
plz any one help me regarding this...
Pradeep Reddy
|
|
|
|
|
HI
Guys i have an option on page from where the user can upload the files, now if the user uploads the file greater then 4 mb it throws exception of maximum request length exceeded, i don't want to make changes in web.config and machine.config, and i want to restrict the user to upload the file less then or equal to 4 mb, i have placed javascript check on it,but in some cases on which java script is disabled on client end my check cann't work, please let me know the solution of this ASAP,thankx in advance
regards,
|
|
|
|
|
Simply Use Try Catch block for this....
|
|
|
|
|
Hey Guru,
You can't Catch this, since your maximum request is limited to 4mb. The Page will crash before it reaches the server.
The one and only and right way is to change the *.config settings only.
|
|
|
|
|
but i don't want to change the web.config settings is there any other way
thankx for ur reply,
regards,
|
|
|
|
|
King Shez wrote: but i don't want to change the web.config settings is there any other way
There is other way out King...
|
|
|
|
|
Hi. i want to create a progress bar in asp.net with c# plz help me
|
|
|
|
|
What do you want to track progress of ? Of course, any solution you create will run on the client, and therefore be written in javascript. If you want to show progress for a process on the server, you'll also need to use AJAX, so the process happens while your page is visible.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Search on the codeproject and u will find useful article on progressbar
general hind make your own control
with table td tr tag's
although u can find the article on codeproject
|
|
|
|
|
Hello All,
Here in my .NET App. I want to add menu in ASP.NET App. I write code:
But if I apply Body code as it is then only menu is show not other frames or if Body tag apply after tag then frames are displayed but menu is not apply on page.
please help me.
Regards
SMK
|
|
|
|
|
you can not use body and frame tags together ...
|
|
|
|
|
how to search database using keyword from textbox by selecting any of the words or all of the words .if it matches how to display in gridview.
|
|
|
|
|
Hi All,
I know its a very simple question m goin to ask and as because m new in ASP.net thats why m not getting from where to start with...
I have one temporary files where all the .SVG files are placed now i have to create a directory where i can place these files and whenever user enters the postcode the system first check for the values first from the directory which i have created rather than directly hitting the Database...If it gets the corresponding values it retrieve from the directory otherwise it ll start searching from the database.....
Now plz anyone help regarding this....
|
|
|
|
|
Hi everyone,
I created a Master page in C# website in which i use treeview and menucontrol of Infragistic 2007. I populate it through user rights....
When i select page through menu and open aspx page...Master page is postback and treeview and menucontrol reset
I want to maintain state of treeview.....
Is anyone knows how to do ....
Thanks,
Regards
Haseeb.
|
|
|
|
|
Whenever you load a page, you get a postback. That's just what happens. A master page is a template that's part of the compilation process, it still posts back, and 99% of the time, you'd want it to. You need to figure out how to persist your settings.
What do Infragistic suggest ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Is there anyone solution for maintain state of treeview and topmenues..
Regards,
Haseeb.
|
|
|
|
|
Well, like I said, you should look into the vendors site. Apart from that, you can use the sesson or put stuff on the URL.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
why not u use the viewstate....
and on master page load event write your code in
if(!ispostback)
{
//your code here
}
condition,
|
|
|
|
|
Hi ,
Ive developed an application , there am using WebUserControl .
In my PC the application is running successfully ,
Wen iam going to insert in my companies server its asking for registry ..
What ive to do in this situation ....
Plz help me ...
Thanks in Advance
Naresh.s.s.
|
|
|
|
|
Hi Guys,
I'm using vb2005 for ASP.net, How can I pass a value to a contol on a web user control? before (on vb2003) what I use to do is to share the control and create a public shared method and pass value explicitly.
Please advice.
Dom
|
|
|
|
|
Nothing has changed. Create a public property to set the value on the control.
only two letters away from being an asset
|
|
|
|
|
i am trying to put several links into the same cell generating something like this
headlink1
sublink1 sublink2
any ideas ?
|
|
|
|
|
How are you populating the gridview?
If you create your own business object/logic you can bind your gridview fields to this object.
If you do this, you can then build each of the inner objects how you want. e.g. concatenate multiple links into one string object then your grid will display the data as such.
So, if you had either a table with multiple link fields or using joins in your sql statement/procedure you could populate the given object by using multiple fields.
objlinks = "<b>Heading</b><br /> <a href='#'>Link 1</a> <a href='#'> Link 2 </a>"
Hope this helps
My Personal Site
|
|
|
|
|
This is a bit much for a simple solution. Use a template row.
only two letters away from being an asset
|
|
|
|