|
Hi there:
.NET have System.Security.Cryptography namespace to do that...
<< >>
|
|
|
|
|
|
Hi All,
I am using .net FrameWork 1.1. In FrameWork 2.0, there is Attribute "DefaultButton" in the form and Panel tag .
How can I implement this in ,net 1.1 version. Whenever the user hits the ENTER key from anywhere in the form, the form should postback to the server.
Anybody can help me reg this?
Regards,
Jay
|
|
|
|
|
|
Hi,
Is it the only way in .net 1.1? Because I am using many forms in my project. I wish to allow the user to submit the form when he hits the enter key.
The form may contains 10 text boxes. Is there any other asp.net command to to submit the form without using JS?
Regards,
Jay
|
|
|
|
|
If the Submit button is the first button on the page and there is more than one textbox then that button will be considered "Clicked" when the user hits the "Enter" key.
Cleako
|
|
|
|
|
Yes Correct. But I am having a LinkButton as a first button which causes PostBack. And I am having some more buttons also in the form. My Actual SUBMIT button is placed at the bottom of the page.
What can I do in this case?
Because some of the Text Boxes at the end of the form are NOT mandatory fields. If the user dont want to enter any data in that, then they may HIT ENTER key from any of the Text Box. At any case I want that SUBMIT button as my default button.
Regards,
Jay
|
|
|
|
|
I believe you will have to use the JS suggestion then. Like I said, it is going to look for the first "" value and submit that one. If you are required to have a button other than the "Submit" button first then this wont work for you.
I believe without having used it yet that when you set a default button in 2.0 that it is writing a script to the page or using a common Client Scripting file that it has with it that sets the default button "behind the scenes". The difference being that it provides the script where with 1.1 you do.
Cleako
|
|
|
|
|
Ok Mr.cleako, I have understood your way of achieving this. I will try it and get back to you.
Thanks
Regards,
Jay
|
|
|
|
|
Hi All,
Here i want to execute an .exe file on particular button. Plz hlep
Regards:
Suveen
|
|
|
|
|
Which side...client or server?
<< >>
|
|
|
|
|
hi,
i want to run that file at client side
|
|
|
|
|
AFAIK...Cannot run the exe file without user's permission...
<< >>
|
|
|
|
|
Don't cross post. You received an answer on the C# Forum[^]
|
|
|
|
|
i have to apply the css styles to asp.net server controls how to do it?
|
|
|
|
|
I cant remmember exactly...but it seems that there is css attribute of the controls...
<< >>
|
|
|
|
|
just create a class inside the style tag. style tag should be inside the title tag. then u can assingn the name of style class to cssclass property of the control
|
|
|
|
|
I have an ocx or activeX control, I have added it to my .Net web application with the help of Project and add references. Now I want to put that control on my web form. But I dont know from where should I get it.
Like suppose I have an UI in the form of ocx control, I have added the ocx file using Project and Add references. But now I want to drag and drop that UI on to my page or form. But I couldnt find it in the "Tool box" or in the "Solution Explorer". What may the problem. Please tell me all the steps if I miss anything.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hey Man,
Right click the ToolBox and click Choose Items. There, browse the OCX/ActiveX file, you will get the controls it has.. Select it and click ok...
Have a nice day...
|
|
|
|
|
I am not getting anything like "Choose Items". Which tool box you are speaking about, the same one which is displayed at any one side of the and we drag and drop the items from it. That same tool box. Please tell me sir. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hey Control ToolBox, where you have the TextBox, Button everything... Try this in the Design Screen(Not in Source/Code Screen)...
|
|
|
|
|
Yeah I have seen your site, but its very nice especially the place from where you belong is very nice. Tirunalvelli. Sir("Anna" in Tamil). I would like to learn Tamil. Basically I am from Andhra(Telugu), but I like Tamil and their culture. So I want learn Tamil. My email is : aleem076@gmail.com. I will be in touch with you. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Nanu Tamilam konjem, konjem terium. Nanu Tamilam konjem, konjem sollam, Rombha ille.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Dear Sir,
Thanks for your dedicated replies. Thank a lot. Now I have one more question and it is not being cleared by anybody, if you have Idea please tell me.
Could you please help me in this regard. What I need is this,
1. I want a .net User Interface to display office files(word, excel etc.).
So that I can put it in my web page to display office files. Similar to
DSO Framer control, but DSO Framer control is an activeX control made by using un-managed code.
But I need a similar UI, made by using .Net Framework. Doesnt itlook good. Could you please help me in this regard. Please, and one more question, in which part of India(great) you belong.
Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi All,
EmpPhoto is an FileUpload control.
string fn = System.IO.Path.GetFileName(EmpPhoto.PostedFile.FileName);
string SaveLocation = Server.MapPath("UploadImages") + "\\" + fn;
EmpPhoto.PostedFile.SaveAs(SaveLocation);
In my local machine, It works fine and file is saved in my Local server. BUT when I have tested from Wes Site, the file is not saved in that "UploadImages" folder (in fact it stores no where).
What is the wrong with me? Can anyone guide me?
Regards,
Jay
|
|
|
|