|
Client.DownloadFile("http://www.yahoo.com","C:\downloads\yahoo.html")
if i given like that yahoo.html downloaded in my C:\downloads\ physical when i run my aspx page in local host.
i run this coding in server this is not working i want to down files in a given path when i host my project into server.how can i do it
please any body can tell how to download pages into our system local physical directory.
This is haneef.............................................................
|
|
|
|
|
|
HI ALL,
Now I am facing a problem with webservice callback.We called a webmethod asynchronously from a webpage.Then the page will be rendered from the server to the client,but the result of the called method may be reaches the webservice after rendering the site.So the webservice become not able to send the result to webform.My question is how to inform the webform asynchronously without polling for its completion and too much delay?
Plz Help................
|
|
|
|
|
Hi,
VS 2003 is removing event handlers at random, I don't know why this happens or when this happens. I tried to put all handlers in separate function and call that function from OnInit(), still handlers are getting removed.
Has anyone faced this issue, I'd appreciate if you could throw some light in this issue.
Regards,
Blumen
|
|
|
|
|
Never came across such situation could you check AutoEventWireup Attribute of Page directive Don't know will work or not
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
its for a Windows Application
|
|
|
|
|
Then you are in wrong forum
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
how to find whether connection string tag is there or appsettings tag is there or not in the web.config file usign code behind
|
|
|
|
|
Just have to check nothing for ConfigurationSettings.appSettings["key"]
additionaly for other section you can use "System.Web.Configuration.WebConfigurationManager" namespace for loading web.config file and its sections
Nobody is perfect i'm Nobody
|
|
|
|
|
I am working on asp.net 2.0. I cannot find the property onMouseOver for the treeview.
Is there any other alternative so that when my cursor goes to the treenodes
an event should occur.
Can i get any sample code.
VanithaVasu
|
|
|
|
|
Are you talking about in Javascript ?
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
hi VanithaVasu,
I think you want to do collapse OR expand TreeView so you are requesting for OnMouseOverevent. If you wanna the same you can do in following way by changing style of each Visited OR Hover OR Selected node.
<asp:treeview id="TreeView1" runat="server" datasourceid="SiteMapDataSource1" imageset="Arrows">
<parentnodestyle font-bold="False">
<hovernodestyle font-underline="False" forecolor="#5555DD" backcolor="Yellow">
<selectednodestyle font-underline="False" forecolor="#5555DD" font-bold="True">
<nodestyle font-names="Tahoma" font-size="10pt" forecolor="Black" horizontalpadding="5px" nodespacing="0px" verticalpadding="0px">
If i am wrong than than you wanna call a javascript function OnMouseOver event of TreeView. Like this way
<asp:treeview id="TreeView1" runat="server" datasourceid="SiteMapDataSource1" imageset="Arrows" onmouseover="javascript:function();">
Hope this will Help You.
Thanks & Regards
Dilip Kumar Vishwakarma
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
If this post is answer for your query then don't forget to mark as an answer.
|
|
|
|
|
Hi I have 3 fields based on i like to show chart diagram in my site,
I dont know2 how to create chart based on 3 fields,
Those fields i am getting from my table:
My table format is:
Source |-| Destination|-| Distance
Chennai |-| Delhi |-| 2000
Chennai |-| Assam |-| 6000
Assam |-| Chennai |-| 5500
Gaziabad|-| Mundka |-| 7000
Like this i have datas
The Source Field have to come X Axis
Destination Field have to come on Y Axis
Based on the distance the Size have to be show,
How to do that?,
Plz any one guide me
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
When I add a resource file to the App_GlobalResources folder in a Web Site and Web Application Project I get this difference in behaviour.
1. In a Web Application Project I get a resx file and a designer.cs file.
2. I get intellisense displayed for the localization strings, e.g., "Looks up a localized string similar to Invalid login, please try again."
In a Web Site Project
1. I get just a resx file.
2. I get no intellisense (because there's no designer file).
Why is there a difference in behaviour? Is there a way of getting the same behaviour for a Web Site Project?
Kevin
|
|
|
|
|
Hello,
I want to call a crystal report from my .aspx webpage. I am using ASP.Net 2.0 and VB.Net
I want to get the crystal report by passing a parameter to stored procedure.
Thanks.
|
|
|
|
|
How to wireup a method for Page_PreInit event in masterpage?
|
|
|
|
|
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
}
edit oops. I don't know if there is a preInit. But you can put code before the base.OnIinit(e) method.
I didn't get any requirements for the signature
|
|
|
|
|
Master Page don't have Pre Init Event
Might be you can't access access Master Page in this event as it might not have been initialize Master page gets initialize on init (inner to outer )First Child controls gets initialzed and then Page gets initialized
Could you tell me what you have to do ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
modified on Thursday, February 14, 2008 1:18 AM
|
|
|
|
|
Sure! I would like to allow user to change the application theme on my master page (by using dropdownlist for example). And then to apply the selected theme to every page being shown.
Thank you for help
|
|
|
|
|
Ya you can do that in Pre init event by getting value of dropdownlist from request object and set the theme in preinit page
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hello Friends,
Can anybody let me know how to do Edit,Update and Insert in DetailsView programatically. I've done Edit in GridView by using the following code
protected void GridView2_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView2.EditIndex = e.NewEditIndex;
bindDataGrid();
}
but EditIndex is not supported in DetailsView
.........
|
|
|
|
|
hi all
did anyone used asp maps(from vds technologies)in your application.if yes means explain me how to create our own maps and move an image in that..(for a vehicle tracking system project)
pintoo
|
|
|
|
|
Do they not hae support forums ? That's the place to find people who know what you're talking about.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How can i produce a thumbnail during the mouseover (or) Hover Property is onvoked.
I am using .Net2.0 and there is no onMouseOver property. It has Hover property but i am not able to set the thumbnail. It is only possible to set the color and font of the Hover property.
Can Somebody please Help me to find out my Solution.
I would be very greatful to u.
VanithaVasu
|
|
|
|
|
Hi ,
Can anyone tell me how to refrsh the gridview with out refreshing the
whole page but not by using the ajax updatepanel, it should be by
xmlhttp request.
Sachin Mukhija
Sachin Mukhija
|
|
|
|