|
Download the file in a separate thread. If you do it in the main thread, it won't be able to respond to any events while the download is going on, which will make your application look like it's stuck.
---
single minded; short sighted; long gone;
|
|
|
|
|
hi
i used Windows Application and All Processed done in Single thred
first i download file and then i Insert data from that file to in SQL Table
saniya k v.
|
|
|
|
|
Hi All,
I have to show some data into DataGrid. Now there is one Button, On click of that Button this DataGrid should be converted into PDF format and mail this PDF file. Is it possible?? I have tried some 3rd party component to do so. But I cant get the result.
I have successfully added one DataTable into PDF format. But not a dynamic DataGrid..
Plz help me, if anyone have some idea about this......
Thank you
Keep Smiling...........
|
|
|
|
|
Before converting into PDF, Rebind Datagrid or any dynamically created cotnrol.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hi Mr.Pathan ,
can u plz explain it briefly.
Thank you for reply.
Regards
|
|
|
|
|
On button click event,First call method to rebind gridview and after that convert into PDF File.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hello Mr.Pathan,
Thanks for reply again.
But I have only method from which I can only convert DataTable to PDF format, not DataGrid. So can you plz give me solution into that direction
Regards
|
|
|
|
|
how can i create an image of a web page by either web or windows application.
example, www.yahoo.com is the url.
i want to create an image of this url.
Regards,
Kapil Thakur
(Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
|
|
|
|
|
The quickest way i see is to programmatically navigate to the URL and programatically perform a printscreen and save the clipboard data to to file.
Dunno if this is of any help.
Carpe diem,
Krg
|
|
|
|
|
I just switched from Jsp to Asp.Net.
My working .aspx file has become very large , and i am using a wizard and i want to separate codes for each step in different files .
Cann anyone Help , coz it become so bulky !
|
|
|
|
|
If you are using ASP.NET 2.0 there is a wizard control that should help you. Consider your design also. Is it necessary to have everything all on the same page, or would breaking it up into more pages be better for development, maintenance and performance?
only two letters away from being an asset
|
|
|
|
|
One solution is to use web UserControls
User controls come as ascx files and contain the same functionality (even pageload is there) as an aspx. The great thing is that you can dynamically load and unload usercontrols on an aspx by using a panel or some other methods.
In visual studio, add a new file of type " Web User Control" for each step of your wizard and add the required coding in each ascx.
Then use a panel in your aspx to load and unload the different user controls programmatically.
Hope this helps.
Carpe diem
Krugger
|
|
|
|
|
Not a good architecture for building a wizard. Loading and unloading user controls on the fly has problems that will become apparent when you try using doing it. Have you?
only two letters away from being an asset
|
|
|
|
|
I did use it but not for wizards. Can you please tell me more about these "practical problems" plz?
Carpe diem
Krg
|
|
|
|
|
If you had seriously used this technique for real production applications you would have encountered the issues of state management and viewstate corruption.
only two letters away from being an asset
|
|
|
|
|
Thanks for the clue. I will give it a go.
Carpe diem
Krg
|
|
|
|
|
Thanks !For your help
I will take care about the practical problems also.
|
|
|
|
|
Hi,
I am struggling to get my styles to work in my gridview. Here is my gridview:
<asp:GridView
ID="gvRoles"
AllowPaging="true"
AutoGenerateColumns="false"
BorderStyle="None"
BorderWidth="0"
CellPadding="0"
CellSpacing="0"
BackColor="White"
DataSourceID="odsRoles"
PageSize="20"
Width="100%"
runat="server">
<HeaderStyle CssClass="gridview_header" />
<ItemStyle CssClass="gridview_cell" />
This is what my styles look like:
.gridview_header
{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #fff;
text-align: left;
margin: 0px;
padding: 3px 2px 3px 2px;
background: #9bab6f;
}
.gridview_cell
{
border-bottom: solid 1px #ececec;
border-left: none;
margin: 0px;
padding: 3px 2px 3px 2px;
}
This works fine in IE7, but in Firefox there is a black line between the cells. I can't seem to remove the black line. Please can someone help me? If someone know of a good gridview styling example on the Internet please send it through.
Regards
.NET Enthusiast
|
|
|
|
|
Give GridLines="None" in gridview property
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
how to user sitemappath contol
|
|
|
|
|
Get It SiteMapPath
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
To all,
in vb.net,to close the application or form...we use..
End
OR
dim frm as form1=new form1
frm.close()
so...
How to close asp page or application?
plz reply me?
thanking u....
Imagine the I.T
|
|
|
|
|
You close a webpage by using the javascript window.close() or self.close().
only two letters away from being an asset
|
|
|
|
|
Hai All,
Can any one know this,
when i am uploading a file(ExcelSheet) from Database,then the current date will be visible from database.but my requirement is when i upload the file, i want to display (yesteday)Previous date.
Any help Thanks in advance
Thanks
Subbu.
|
|
|
|
|
System.DateTime.Now.AddDays(-1);
Best Regard
Pathan
---------------------------------------------------
|
|
|
|