|
i am having a text file named ReleaseNotes.txt in my project folder. In my web page, am having a link called Download_Notes. If a user clicks the link, the file should download to the client machine.
How to perform this ?
Regards,
abul.
hello
|
|
|
|
|
create a hyperlink and set the navigateUrl property to the path of the file on the server
so when the client clicks on it it prompts download
hope this would help
Best Regards
3ala2
|
|
|
|
|
just3ala2 wrote: when the client clicks on it it prompts download
This depends on what browser the client is using, or how his settings is. On my browser, IE6, it opens the textfile in the browser. A work around will be to ask the user to download by right-click on the URL and choose "save target as" option.
|
|
|
|
|
Hmm, not to sure how to do that, but I have a quick fix.
Make the link point to the txt file, and tell the client to right click and 'save as'.
EG:
Download Txt
|
|
|
|
|
Hi,
I need to included another aspx page in a panel on my 'parent' page. If the user clicks a button, it shows the other page inside a panel. The other aspx page is on another server. I can tricker the panel, but cant get the other page to show inside this panel. I used an IFRAME, but was told not to use that. How can I do this?
|
|
|
|
|
hi
I beleive the only way is to use an iframe
signature
|
|
|
|
|
|
hi
this is a broad topic which canot be answered here, do a search for localization on codeproject or google.com or MSDN.
signature
|
|
|
|
|
make an resx file for each language
in the name filed u fill it with the word that refers ur controls
"myEmployee" for example
and in the value field u fill the word that u want to appear "Employee" for example
In a seperate module u do the following:
import the system.resources
and u define a variable for each language
Public rm As ResourceManager
define a language variable and durection variable
Public cur_lang As String
Public cur_dir As String = "ltr"
Public Sub lang1()
If cur_lang = "English" Then
rm = New ResourceManager("projectName.English", System.Reflection.Assembly.GetExecutingAssembly())
Else
rm = New ResourceManager("projectName.otherLanguage", System.Reflection.Assembly.GetExecutingAssembly())
End If
and lang2 sub for the other language
in the aspx.vb all u need is the following
u specify the language in the form load
lblEmployee.Text = rm.GetString("myEmployee")
hope this would help
Best Regards
3ala2
|
|
|
|
|
i have a textbox need to input amount only, means only can accept digit or double and dot(.) for example, 12 or 12.32 , is it use regular expression validator or rang validator , and how to write the validation expression ?
Best regards,
Chee ken
|
|
|
|
|
hi
if you want the user to only enter numerals then you will habe to write your own control derving from textbox which only accepts number and the letters you want and will probably need clientside javascript code to prevent entering of other letters. there are free controls you can use. goto http://www.eworldui.net/[^] and you will find a numericbox cotrol that u can use, hope this helps
signature
|
|
|
|
|
If you only want to validate the input eg "12", "12.32", "128.25", etc, etc...
You can use the Range validator, and set the Type to "Currency" and the operator to "DataTypeCheck"
<asp:CompareValidator ID="cvBudget" runat="server" ControlToValidate="txtBudget"
ErrorMessage="You need to enter a valid Currency value" Operator="DataTypeCheck" Type="Currency" ValidationGroup="grUpdate" />
|
|
|
|
|
hi everyone, I would like to know if it's possible to group digits as we type them into a textbox, that is as we type them, are there present solutions or free controls to use.
Thanks in advance for your help
|
|
|
|
|
Hi all,
i am currently working on security component. I develop the component as a http module and the same can be used by the developers by just adding the hhttp module to their application. But, the problem is what if i want the same to be worked with Windows applications. Is there any way the windows applications can make use of the http modules and http handlers.
ThanX in advance
Ramesh.Kanjinghat
|
|
|
|
|
Hi all
i have some code:
WebRequest request = WebRequest.Create(strQuery);
WebResponse reponse = request.GetResponse();
Stream objstream = reponse.GetResponseStream();
System.Drawing.Image img = System.Drawing.Image.FromStream(objstream);
img.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);
but i dont want Response.OutputStream because it delete all control in my page
I want give img into System.Web.UI.WebControls.Image
Some body help me
|
|
|
|
|
<img src=myimagepage.aspx>
Place the code you have in myimagepage. There are other ways but this is a typical usage.
only two letters away from being an asset
|
|
|
|
|
|
Posting the same message again will not get you any better responses.
only two letters away from being an asset
|
|
|
|
|
I consider this extreme cut-and-paste abuse.
I consider this extreme cut-and-paste abuse.
I consider this extreme cut-and-paste abuse.
You need to set:
<authentication mode="Windows" />
to
<authentication mode="None" />
|
|
|
|
|
thank for help, but it still does not effect huhuhu
|
|
|
|
|
Did you change
<customErrors mode="RemoteOnly"/>
to
<customErrors mode="Off"/>
also?
You need to see the detailed error.
|
|
|
|
|
|
lol sorry, this first time i do it , it not in bin folder, but now after many times correct it just in bin folder, let me correct it, sorry so much
|
|
|
|
|
sorry all i have just found my failt this is my site
http://www.bambooproductall.com/webform1.aspx
|
|
|
|
|
Looks like its working now!
|
|
|
|