|
Abhijit Jana wrote: Sure... I will try my best. will back to you if any problem.
And I will tell you to look them up using google.
|
|
|
|
|
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Hi all..
I am having a aspx page which has a number of tables having values retrieved from dataset..I have a button in the page..When i click the button only the first two tables alone should be printed..That is i have 10 tables in that page then i need to print them two tables per page(print out page)..so that i will get 5 printout pages each having two tables in it..How to do that.Someone help in this regard..
Thx..
Balaguru
|
|
|
|
|
you could use something like this after the tables
<p style="page-break-before: always"> </p>
soz forgot to tick the checkbox
modified on Wednesday, March 26, 2008 9:07 AM
|
|
|
|
|
Dear .Netman..
Nothing is there in ur reply..Can u resend ur reply...
Regards,
Balaguru
|
|
|
|
|
i have a grid in which values are coming. but this grid displays name of the book in which pfd files are there. namig of the file is not good so i want to change the name of each pdfs.there r 1000's of pdfs,
i am using asp.net,C# ssql server 2005. i copied all the pdfs in a folder then from database m calling the url of the book , then it displays all pdf files,
i want to know is there any way to change the name of pdfs automatically. such dat it should check the content and display name
[I]Example:[/I] xh011.pdf --------------- original name
circute schematics ----------------name in the index .
plz think about it m in need of this solution , i have about 12000 pdfs , so m thinking wat to do???
|
|
|
|
|
I dont think there is an easy way of doing this
The URL in the database is just a link to the file so changing this wont help
I dont know if putting the files in the database and doing it that way might help, not sure
|
|
|
|
|
Hi all,
i have a question regarding session.
In forms authentication if a user enters his credentials and after some
process , if he closes the browser without logging off, what will happen ,does the session exists if not what is the solution for this problem
i.e what he has to do to make sure that data will not be lost after closing the browser
Any guesses?
Thanks
Mukkanti
|
|
|
|
|
I think the session will end when they close the browser as when they open the browser again they will have to login.
Although with tabs it may differ I think when you close one tab and open another it doesnt end the current session.
Although this is just a guess but I'm pretty sure im right
|
|
|
|
|
Dear members,
Can any body know how to display or convert dicom images to jpeg/png images. I read articles available in code project, which are not worth useful for me. I require either of C#/VB.net languages. It should be like activeX control or some other control, because at particular area of my web application i need to display .dcm(dicom) image or its converted image which may in .jpeg or .png format. Can we get any royalty free software or control for this. If anybody know something, please, let me know.
Thank you,
PANR
modified on Wednesday, March 26, 2008 7:21 AM
|
|
|
|
|
In my Web.config file,authentication mode is "Form" and login url is "Login.aspx" which is in root directory.when i am calling a page which is in sub directory,then my page should automatically redirect to "Login.aspx" for authentication.but my problem is that instead of redirecting the page to "login.aspx" in root directory it searches in the same sub directory hence it does not get a file.
But when i am working offline ie on local PC,i don't get this problem.when i have uploaded this project on server i face this problem. Thank u.
coolsatty
|
|
|
|
|
Have you the path attribute set in the web.config?
<forms name="ASPXAUTH" loginUrl="Logon.aspx" protection="All" timeout="30" path="/" /> It should default to the root path anyway but adding it in may solve your problem.
|
|
|
|
|
still facing the same problem.
coolsatty
|
|
|
|
|
So what have you tried? Is the IIS setup unusual in any way?
Not sure if this is valid but try a path of "~/" or just "~".
|
|
|
|
|
Even this is not working,check out the code i have written
<forms name="ASPXAUTH" loginurl="~/LoginUser.aspx" protection="All" timeout="30" path="~/">
but everything is fine when i am running in my PC ie offline.when i upload in server i get this error.and server is handled by some third party.Thank you
coolsatty
modified on Friday, March 28, 2008 12:57 AM
|
|
|
|
|
hai
I want to open some external application like (exe) using asp.net 2.0.
I tried with the help of this code on button_click
ProcessStartInfo startInfo1 = new ProcessStartInfo();
Process prcs = new Process();
prcs.StartInfo.FileName = "thirdparty.exe";
prcs.StartInfo.Arguments = filename;
prcs.Start();
without arguments it opened on the desktop, but with argument it doesn't show anything (it's run on background process)
Can anyone known help me
Thanks in Advance
|
|
|
|
|
You will be able to open an external application on the same machine as the web application is running because the code is executing on the server side and this code has access to local resources.
Be warning, this will probably expose a security vulnerability on your server.
You will not be able to open an external application on a client machine as the client side code does not have permission to execute another executable from the browser.
|
|
|
|
|
Hi Everyone,
i am using AjaxCalendar Control,for Multilugnial site. when i change the
Language from English to French, then the AjaxCalendarcontrol does not changing to Frech Language, when i remove the UpdatePanel and ContentTemplate tag in the design, its working fine.
can u given me solution, it should work, when i place the UpdatePanel and ContentTemplate also.
Plz give me solution.
<div class="SearchHotelRow">
<div class="SearchHotelLabelTwoColumnFormat">
<asp:Label ID="L_CheckInDate" runat="server" Text="From:"></asp:Label>
</div>
<div class="SearchHotelControlTwoColumnFormat">
<asp:TextBox ID="TB_CheckInDate" runat="server" Width="70px"></asp:TextBox>
<asp:ImageButton ID="IB_CheckInDate" ImageUrl="~/App_Themes/Images/Calendar_Icon.gif"
runat="server" ImageAlign="AbsMiddle" CausesValidation="False" />
<ajaxToolkit:CalendarExtender ID="CE_From" runat="server" TargetControlID="TB_CheckInDate"
Format="MM/dd/yyyy" PopupButtonID="IB_CheckInDate">
</ajaxToolkit:CalendarExtender>
</div>
<div class="SearchHotelLabelFourColumnFormat">
<asp:Label ID="ToCheckDateFormat" Text="(mm/dd/yyyy)" runat="server"></asp:Label>
</div>
</div>
<div class="SearchHotelRow">
<div class="SearchHotelLabelTwoColumnFormat">
<asp:Label ID="L_CheckOutDate" runat="server" Text="To:"></asp:Label>
</div>
<div class="SearchHotelControlTwoColumnFormat">
<asp:TextBox ID="TB_CheckOutDate" runat="server" Width="70px"></asp:TextBox>
<asp:ImageButton ID="IB_CheckOutDate" ImageUrl="~/App_Themes/Images/Calendar_Icon.gif"
runat="server" ImageAlign="AbsMiddle" CausesValidation="False" />
<ajaxToolkit:CalendarExtender ID="CE_To" runat="server" TargetControlID="TB_CheckOutDate"
Format="MM/dd/yyyy" PopupButtonID="IB_CheckOutDate">
</ajaxToolkit:CalendarExtender>
</div>
<div class="SearchHotelLabelFourColumnFormat">
<asp:Label ID="L_CheckOutDateFormat" Text="(mm/dd/yyyy)" runat="server"></asp:Label>
</div>
</div>
here i am not placed the UpdatePanel and ContentTemplate tag, its work when i placed it. it does not work.
modified on Wednesday, March 26, 2008 6:18 AM
|
|
|
|
|
can you upload your code so we can see what is happening
|
|
|
|
|
Hi!
I think you should use a "ScriptManager" control in your page.
try it(if you have not one)!
if it did not work again, let us know how and where you change the language.
|
|
|
|
|
Hello Guy,
Can any one tell me how do i add a report Viewer at a click event as i have to add thousand of reports from report server so i want is how to take name of EACH REPORT STORED ON REPORT SERVER and SHOW THEM IN TREE VIEW also WITH THAT ON THE CLICK EVEBT OF THE TREE NODE IT SHOULD CREATE A REPORT VIEWER ON RIGHT HAND SIDE WEBZONE AND TAKE THE PATH OF THE REPORT NAD GENRATE THE REPORT ............
Please do help me
|
|
|
|
|
Is it possible to manually fill up a datagrid in VS.net instead of fetching its content from a database?
|
|
|
|
|
Yes it is, although you will want to store the data somewhere while the user is working on it.
Depending on how your application works it may be suitable to store the data in DataSet or collection which is in turn stored as a session object.
|
|
|
|
|
The datagrid will be read only. The user will not be able to do anything on it. What I want is a way to manually enter data into each of the individual cells. Is there someway to do this from the properties menu? Or should I just use a table and modify it so as to make its look consistent with the other grids I have on the page?
|
|
|
|
|
I don't think you can do it from the properties menu. You need to provide some kind of datasource. You can programitically build a datatable or as Christian has suggested an array and use this as your datasource. The disadvantage of this method is that the values are hard coded into your code.
Another option is to store your data in an Xml file and use this as a data source. At least you will be able to modify the data without re-compiling.
|
|
|
|