Click here to Skip to main content
15,889,867 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionEntity framework forien keys Pin
David baghaturia15-Jun-15 12:45
David baghaturia15-Jun-15 12:45 
AnswerRe: Entity framework forien keys Pin
F-ES Sitecore15-Jun-15 22:09
professionalF-ES Sitecore15-Jun-15 22:09 
QuestionPreventing XSS attacks to dynamically created DOM webpages and dynamically generated javascript event handlers Pin
Steve Holdorf13-Jun-15 18:07
Steve Holdorf13-Jun-15 18:07 
QuestionLearing ASP.NET Security Vulnerability programming Pin
Steve Holdorf13-Jun-15 6:58
Steve Holdorf13-Jun-15 6:58 
QuestionThe requested resource does not support http method 'GET' Pin
Vimalsoft(Pty) Ltd13-Jun-15 0:52
professionalVimalsoft(Pty) Ltd13-Jun-15 0:52 
AnswerRe: The requested resource does not support http method 'GET' Pin
Akhil Mittal16-Jun-15 22:10
professionalAkhil Mittal16-Jun-15 22:10 
QuestionGet text in a textbox Pin
Otekpo Emmanuel12-Jun-15 21:00
Otekpo Emmanuel12-Jun-15 21:00 
GeneralRe: Get text in a textbox Pin
Abhipal Singh13-Jun-15 8:01
professionalAbhipal Singh13-Jun-15 8:01 
Debug your code and check what is the value you are getting in txt variable. It looks like txtidea control is not found by FindControl() and hence the result is empty.

Also, avoid checking string values with ""

VB
If txt.Text <> "" Then

Instead use
VB
If !string.IsNullOrEmpty(txt.Text) Then

its cleaner and less error prone.
SuggestionRe: Get text in a textbox Pin
Richard Deeming15-Jun-15 1:20
mveRichard Deeming15-Jun-15 1:20 
GeneralRe: Get text in a textbox Pin
Abhipal Singh15-Jun-15 5:35
professionalAbhipal Singh15-Jun-15 5:35 
SuggestionRe: Get text in a textbox Pin
Richard Deeming15-Jun-15 1:22
mveRichard Deeming15-Jun-15 1:22 
Generallogin page in asp.net Pin
Member 1155558912-Jun-15 3:16
Member 1155558912-Jun-15 3:16 
GeneralRe: login page in asp.net Pin
Richard MacCutchan12-Jun-15 5:18
mveRichard MacCutchan12-Jun-15 5:18 
AnswerRe: login page in asp.net Pin
ZurdoDev12-Jun-15 5:46
professionalZurdoDev12-Jun-15 5:46 
GeneralRe: login page in asp.net Pin
Vimalsoft(Pty) Ltd18-Jun-15 21:47
professionalVimalsoft(Pty) Ltd18-Jun-15 21:47 
GeneralRe: login page in asp.net Pin
Richard Deeming19-Jun-15 2:00
mveRichard Deeming19-Jun-15 2:00 
GeneralRe: login page in asp.net Pin
Mr Munesh Sharma19-Jun-15 1:12
professionalMr Munesh Sharma19-Jun-15 1:12 
GeneralRe: login page in asp.net Pin
Richard Deeming19-Jun-15 2:02
mveRichard Deeming19-Jun-15 2:02 
GeneralRe: login page in asp.net Pin
Richard Deeming19-Jun-15 2:06
mveRichard Deeming19-Jun-15 2:06 
Questionfind whole name list from word using textbox Pin
Member 1158609811-Jun-15 22:36
Member 1158609811-Jun-15 22:36 
QuestionRe: find whole name list from word using textbox Pin
ZurdoDev12-Jun-15 8:13
professionalZurdoDev12-Jun-15 8:13 
QuestionMessage Closed Pin
11-Jun-15 7:31
Stephen Holdorf11-Jun-15 7:31 
RantREPOST Pin
Richard Deeming11-Jun-15 7:52
mveRichard Deeming11-Jun-15 7:52 
QuestionUnchecked returned value causing unexpected states and conditions. Pin
Stephen Holdorf10-Jun-15 7:35
Stephen Holdorf10-Jun-15 7:35 
AnswerRe: Unchecked returned value causing unexpected states and conditions. Pin
Richard Deeming10-Jun-15 7:56
mveRichard Deeming10-Jun-15 7:56 

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.