Click here to Skip to main content
15,905,614 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSelecting a validator based on other form controls Pin
dwolver22-May-09 5:25
dwolver22-May-09 5:25 
AnswerRe: Selecting a validator based on other form controls Pin
Manas Bhardwaj22-May-09 5:44
professionalManas Bhardwaj22-May-09 5:44 
GeneralRe: Selecting a validator based on other form controls Pin
dwolver22-May-09 5:53
dwolver22-May-09 5:53 
QuestionStrange AutoCompleteExtender Behavior Pin
Herman<T>.Instance22-May-09 4:49
Herman<T>.Instance22-May-09 4:49 
QuestionRetrive file path back in to fileupload control...... Pin
pranavcool22-May-09 4:31
pranavcool22-May-09 4:31 
AnswerRe: Retrive file path back in to fileupload control...... Pin
Abhishek Sur22-May-09 6:04
professionalAbhishek Sur22-May-09 6:04 
AnswerRe: Retrive file path back in to fileupload control...... Pin
Matt Cavanagh25-May-09 18:08
Matt Cavanagh25-May-09 18:08 
AnswerRe: Retrive file path back in to fileupload control...... Pin
adatapost29-May-09 4:36
adatapost29-May-09 4:36 
If your are using ASP.NET then you may use ~ (root) operator to resolve path with server controls.

Save ~/images/xyz.jpg in database.

However, you said "Is it possible to get back full path?". Yes you can:

Use,

Server.MapPath or Request.MapPath or MapPath method.

eg.
String fullpath=Request.MapPath("~/images/xyz.jpg");
or
String fullpath=Request.MapPath("../images/xyz.jpg");

A DATAPOST COMPUTER CENTRE
(K.V Prajapati)

QuestionSynchronizing website content with video Pin
ToeStumper22-May-09 3:36
ToeStumper22-May-09 3:36 
AnswerRe: Synchronizing website content with video Pin
Christian Graus22-May-09 3:43
protectorChristian Graus22-May-09 3:43 
QuestionHow to convert System.Web.UI.WebControls.FileUpload to System.string? Pin
lsh486love22-May-09 3:07
lsh486love22-May-09 3:07 
AnswerRe: How to convert System.Web.UI.WebControls.FileUpload to System.string? Pin
Christian Graus22-May-09 3:10
protectorChristian Graus22-May-09 3:10 
QuestionProblem with TabContainer Pin
sarang_k22-May-09 3:02
sarang_k22-May-09 3:02 
QuestionRegular Expression Validation Control is not working in Server PinPopular
Robymon22-May-09 2:28
Robymon22-May-09 2:28 
QuestionWhat is the difference between Ajax Client and Ajax Server controls? Pin
yadlaprasad22-May-09 2:10
yadlaprasad22-May-09 2:10 
AnswerRe: What is the difference between Ajax Client and Ajax Server controls? Pin
Christian Graus22-May-09 2:14
protectorChristian Graus22-May-09 2:14 
AnswerRe: What is the difference between Ajax Client and Ajax Server controls? Pin
Ramesh Swaminathan22-May-09 3:37
Ramesh Swaminathan22-May-09 3:37 
QuestionWant to get the data from one table using multi threading Pin
sjs4u22-May-09 1:57
sjs4u22-May-09 1:57 
AnswerRe: Want to get the data from one table using multi threading Pin
padmanabhan N22-May-09 2:05
padmanabhan N22-May-09 2:05 
GeneralRe: Want to get the data from one table using multi threading Pin
sjs4u22-May-09 2:12
sjs4u22-May-09 2:12 
QuestionMailMessage and regular expression not working hand in hand Pin
Brendan Vogt22-May-09 1:37
Brendan Vogt22-May-09 1:37 
AnswerRe: MailMessage and regular expression not working hand in hand Pin
Christian Graus22-May-09 3:01
protectorChristian Graus22-May-09 3:01 
GeneralRe: MailMessage and regular expression not working hand in hand Pin
Brendan Vogt22-May-09 5:15
Brendan Vogt22-May-09 5:15 
Questionvalidation Pin
jainiraj22-May-09 1:10
jainiraj22-May-09 1:10 
AnswerRe: validation Pin
padmanabhan N22-May-09 1:42
padmanabhan N22-May-09 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.