|
rdvsharma wrote: i) When i press enter key the page gets refreshed, instead that should move the cursor to the next cell.
You need to handle the enter key in keyup event and manually set focus to the next control. Use javascript for doing this,
|
|
|
|
|
Thx for your reply. Can u suggest me for the first query too.i.e arrow keys in grid.
I found jquery option but it is navigating to the next row, not the cell navigation.
regards
|
|
|
|
|
Hi all,
I just downloaded Aspnet ajax documentation from the following site
http://www.asp.net/ajax/downloads/archive/
I opened the downloaded folder as a website , but during the compilation it gives me an error in
Samples\LocalizingClientResourcesWalkthrough\cs\Default.aspx
as following
Element 'ClientVerification' is not a known element.
E:\AspNet_AJAX_Documentation\Samples\LocalizingClientResourcesWalkthrough\cs\Default.aspx
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) E:\AspNet_AJAX_Documentation\Samples\LocalizingClientResourcesWalkthrough\cs\Default.aspx
can any body help me with this thing...
|
|
|
|
|
how to get an open file dialog box using asp.net
|
|
|
|
|
Could you explain what you need to do ? then you might get proper replies
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... "
|
|
|
|
|
asp:FileUpload
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 )
|
|
|
|
|
Hi,
asp.net provides controls called as asp:fileupload.
So use this control to get open file dialog box.
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
asp:fileUpload use it i ll get output..
thanks 2 all..
|
|
|
|
|
I am writing an ajax program in dreamweaver, and trying to run.
But, there is no server side interaction.
So, tell me at which plateform, I can write ajax program to run it.
In advance...
Thanking you
ajai
|
|
|
|
|
What is the problem ? If you're using dreamweaver, you're not using ASP.NET, are you ?
Can you even write client side javascript code in dreamweaver ?
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 )
|
|
|
|
|
Hi
You Can Go For ASP.NET.
AS U can For For Ajax Programmming Here : There is Very Good Pltaform and Server Side Techn. Here.
U Can Interact it as server side.
Just Do IT™ [Information Technology]™ :->
|
|
|
|
|
hi when user select the file from file upload i want to get the full path of the file selected how could be possible
|
|
|
|
|
You can't.The browser will never post the full file's path. it is for security purpose
but you can try with e javascript before submit.
<asp:button onClientClick="document.getElementById('yourhiddenField1').value = document.getElementById('fileUpload1').value">
now you can retrive path from hidden field
Best Regards
-----------------
Abhijit Jana
View My CodeProject Articles
"Success is Journey it's not a destination"
|
|
|
|
|
Full path??
We can get like that, right? but of course, he can do nothing with this path..
document.getElementById('File1').value
Is it not what he meant?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Michael Sync wrote: Is it not what he meant?
may be.
but i think he want to get it directly with posted file
|
|
|
|
|
You may be able to get it, I know for sure you cannot set it in script.
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 )
|
|
|
|
|
Christian Graus wrote: I know for sure you cannot set it in script.
Yeah.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
When the file is uploaded, the control has the full path. But, what do you hope to do with it ?
You cannot access the file system and you cannot interact with the file upload control on the client side.
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 )
|
|
|
|
|
lakshmichawala wrote: i want to get the full path of the file selected
This will return the full path of the selected file.
FileUpload.PostedFile.FileName
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
I want to retrive a image from a mssql db, i have uploaded it was sotring in db coloumn like filename.jpg i have tryed like giveing like wht i have given below..
while (dr10.Read())
{
Response.Write("");
}
But i couldt able to retrive the image.
Images are not fixed to give the perticular image name, it was given by online those customer who are uploading images through online, like for example uploading there porduct details along with there image of that product, so when tryed for that perticular company those products and image wht they are uploaded must be displayed on a datagride...
Can u pls help me.
krishna.v
|
|
|
|
|
krishnavaradharajan wrote: ");
Where is your Image Path?
set ID and runat server to htmlImage control in source and access that image and set src property to image path
if you want to display that image in datagrid try following code in itemtemplate
<img src='foldername/<%# Eval("ImagePathField")%>' />
bEst rEgard
pAthan
please don't forget to vote on the post that helped you.
|
|
|
|
|
He said that the images are stored in database. Not in the folder.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Michael Sync wrote: He said that the images are stored in database. Not in the folder.
please read my post again.I am fetching it from database not folder.He just save image path in database but image must be in the some folder thats why i am giving that foldername.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Imran Khan Pathan wrote: please read my post again.I am fetching it from database not folder.He just save image path in database but image must be in the some folder thats why i am giving that foldername
haha.. Yeah.. My mistake...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|