Click here to Skip to main content
15,915,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to concate various controls data into a TextBox Pin
Pawan Kiran26-May-09 5:27
Pawan Kiran26-May-09 5:27 
AnswerRe: How to concate various controls data into a TextBox Pin
Manas Bhardwaj26-May-09 10:39
professionalManas Bhardwaj26-May-09 10:39 
GeneralRe: How to concate various controls data into a TextBox Pin
Pawan Kiran27-May-09 0:28
Pawan Kiran27-May-09 0:28 
AnswerRe: How to concate various controls data into a TextBox Pin
Tuwing.Sabado26-May-09 15:47
Tuwing.Sabado26-May-09 15:47 
QuestionWeb Crystal Report from NT Current Event Log Pin
Yakimo26-May-09 4:31
Yakimo26-May-09 4:31 
Questionhow to use the share assembly in the .net Pin
lakshmichawala26-May-09 3:08
lakshmichawala26-May-09 3:08 
AnswerRe: how to use the share assembly in the .net Pin
Manas Bhardwaj26-May-09 3:41
professionalManas Bhardwaj26-May-09 3:41 
QuestionNot a valid virtual path Pin
samerh26-May-09 3:03
samerh26-May-09 3:03 
Got an error when i deployed not a valid virtual path. though i have added permissions to image folder on the server.
Iam using a function that returns save location and uploads the image. this is the code iam using:
Private Function Uploaded() As String
       Dim filePath As String = AppSettings("~\Images")
       Dim SaveLocation As String = String.Empty
       If Not txtImgURL.Text.Length = 0 And Left(txtImgURL.Text, filePath.Length) <> filePath Then
           Dim fileName As String = System.IO.Path.GetFileNameWithoutExtension(txtImgURL.Text).ToLower()
           Dim fileExtention As String = System.IO.Path.GetExtension(txtImgURL.Text).ToLower()
           SaveLocation = System.IO.Path.Combine(filePath, fileName & fileExtention)
           Dim physicalLocation As String = Server.MapPath(SaveLocation)

           If File.Exists(physicalLocation) = True Then
               Dim sequencer As Integer = 1
               SaveLocation = System.IO.Path.Combine(filePath, fileName & "_" & sequencer.ToString & fileExtention)
               physicalLocation = Server.MapPath(SaveLocation)

               Try
                   My.Computer.FileSystem.CopyFile(txtImgURL.Text, physicalLocation)
               Catch
                   My.Computer.FileSystem.CopyFile(Server.MapPath(txtImgURL.Text), physicalLocation)
               End Try
           Else
               Try
                   My.Computer.FileSystem.CopyFile(txtImgURL.Text, physicalLocation)
               Catch
                   My.Computer.FileSystem.CopyFile(Server.MapPath(txtImgURL.Text), physicalLocation)
               End Try
           End If
       End If
       Return SaveLocation
   End Function


Any help?
AnswerRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 4:22
Herman<T>.Instance26-May-09 4:22 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 18:35
samerh26-May-09 18:35 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 19:44
Herman<T>.Instance26-May-09 19:44 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 19:52
samerh26-May-09 19:52 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 19:54
Herman<T>.Instance26-May-09 19:54 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 20:09
Herman<T>.Instance26-May-09 20:09 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 20:29
samerh26-May-09 20:29 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 20:31
Herman<T>.Instance26-May-09 20:31 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 22:10
samerh26-May-09 22:10 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 23:37
Herman<T>.Instance26-May-09 23:37 
GeneralRestful Webservices Pin
manowj26-May-09 2:57
manowj26-May-09 2:57 
QuestionHow to display data into Property Page Pin
.NET- India 26-May-09 2:19
.NET- India 26-May-09 2:19 
AnswerRe: How to display data into Property Page Pin
Manas Bhardwaj26-May-09 11:35
professionalManas Bhardwaj26-May-09 11:35 
Questionexpire the session when the browser is closed Pin
prasadbuddhika26-May-09 1:45
prasadbuddhika26-May-09 1:45 
AnswerRe: expire the session when the browser is closed Pin
Ramesh Swaminathan26-May-09 1:52
Ramesh Swaminathan26-May-09 1:52 
AnswerRe: expire the session when the browser is closed Pin
Baran M26-May-09 2:01
Baran M26-May-09 2:01 
GeneralRe: expire the session when the browser is closed Pin
Ramesh Swaminathan26-May-09 2:15
Ramesh Swaminathan26-May-09 2:15 

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.