Click here to Skip to main content
12,826,676 members (31,206 online)
   

ASP.NET

 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
piyush_dobariya7-Jan-13 19:41
memberpiyush_dobariya7-Jan-13 19:41 
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightbox Pin
David Mujica8-Jan-13 4:48
memberDavid Mujica8-Jan-13 4:48 
QuestionBrowser Compatibilty Pin
ravitejapammi7-Jan-13 0:54
memberravitejapammi7-Jan-13 0:54 
AnswerRe: Browser Compatibilty Pin
Sandeep Mewara7-Jan-13 3:53
mvpSandeep Mewara7-Jan-13 3:53 
GeneralRe: Browser Compatibilty Pin
ravitejapammi17-Jan-13 21:21
memberravitejapammi17-Jan-13 21:21 
GeneralRe: Browser Compatibilty Pin
Sandeep Mewara18-Jan-13 0:50
mvpSandeep Mewara18-Jan-13 0:50 
GeneralJavaScript - window.print() not working in Android mobile browsers Pin
ravitejapammi24-Jan-13 0:08
memberravitejapammi24-Jan-13 0:08 
QuestionHow can I delete a Column of XLSX file with EPPlus in web application? Pin
cawboy_iran6-Jan-13 21:00
membercawboy_iran6-Jan-13 21:00 
AnswerRe: How can I delete a Column of XLSX file From EPPlus in web application? Pin
Sandeep Mewara6-Jan-13 22:26
mvpSandeep Mewara6-Jan-13 22:26 
GeneralRe: How can I delete a Column of XLSX file From EPPlus in web application? Pin
cawboy_iran7-Jan-13 3:48
membercawboy_iran7-Jan-13 3:48 
QuestionWoW Slider now showing the image Pin
Jassim Rahma5-Jan-13 9:06
memberJassim Rahma5-Jan-13 9:06 
AnswerRe: WoW Slider now showing the image Pin
Sandeep Mewara5-Jan-13 21:09
mvpSandeep Mewara5-Jan-13 21:09 
QuestionUnable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox Pin
amsedky5-Jan-13 2:00
memberamsedky5-Jan-13 2:00 
AnswerRe: Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox Pin
Sandeep Mewara5-Jan-13 21:24
mvpSandeep Mewara5-Jan-13 21:24 
amsedky wrote:
Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox
//((TextBox)PayGridView.Rows[e.RowIndex].Cells[3].Controls[0]).Text;

Error in itself is quite straight forward.

You are directly casting controls from Grid cells into a defined type. One of the conversion is not correct. There is a Literal control instead of a textbox. A simple use of Visual Studio debugger will tell the line of code. Once you know, just handle it properly.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013


[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

Questiondisplay animated image while save data to asp.net Pin
ashraf almashhari4-Jan-13 22:46
memberashraf almashhari4-Jan-13 22:46 
AnswerRe: display animated image while save data to asp.net Pin
Sandeep Mewara4-Jan-13 23:14
mvpSandeep Mewara4-Jan-13 23:14 
QuestionAsp.net Pin
Manjunath Hegde4-Jan-13 1:41
memberManjunath Hegde4-Jan-13 1:41 
AnswerRe: Asp.net Pin
Rahul Rajat Singh4-Jan-13 2:04
memberRahul Rajat Singh4-Jan-13 2:04 
QuestionInsert/Update/Delete Records in Dynamic Generated Textbox/Checkbox and Loop Through All Records Pin
guodl3-Jan-13 11:11
memberguodl3-Jan-13 11:11 
Questionlive update Pin
Subin Mavunkal3-Jan-13 3:23
memberSubin Mavunkal3-Jan-13 3:23 
AnswerRe: live update Pin
Keith Barrow3-Jan-13 3:46
mentorKeith Barrow3-Jan-13 3:46 
AnswerRe: live update Pin
Rahul Rajat Singh3-Jan-13 23:04
memberRahul Rajat Singh3-Jan-13 23:04 
QuestionHow to populate WoW Slider from database Pin
Jassim Rahma1-Jan-13 9:32
memberJassim Rahma1-Jan-13 9:32 
QuestionUmbarco or Joomla? Pin
Jassim Rahma1-Jan-13 0:58
memberJassim Rahma1-Jan-13 0:58 
AnswerRe: Umbarco or Joomla? Pin
Rahul Rajat Singh3-Jan-13 22:51
memberRahul Rajat Singh3-Jan-13 22:51 
AnswerRe: Umbarco or Joomla? Pin
deflinek8-Jan-13 3:55
memberdeflinek8-Jan-13 3:55 
QuestionSlideShow Control Pin
cdpsource31-Dec-12 2:19
membercdpsource31-Dec-12 2:19 
AnswerRe: SlideShow Control Pin
jkirkerx31-Dec-12 11:23
memberjkirkerx31-Dec-12 11:23 
GeneralRe: SlideShow Control Pin
cdpsource1-Jan-13 0:41
membercdpsource1-Jan-13 0:41 
AnswerRe: SlideShow Control Pin
jkirkerx1-Jan-13 11:31
memberjkirkerx1-Jan-13 11:31 
GeneralRe: SlideShow Control Pin
@AmitGajjar1-Jan-13 7:41
member@AmitGajjar1-Jan-13 7:41 
GeneralRe: SlideShow Control Pin
cdpsource1-Jan-13 10:35
membercdpsource1-Jan-13 10:35 
Questioni hv registerd in free web hostin website and i create an empty website... Pin
syedkhaleel31-Dec-12 0:24
membersyedkhaleel31-Dec-12 0:24 
AnswerRe: i hv registerd in free web hostin website and i create an empty website... Pin
_Amy31-Dec-12 18:47
member_Amy31-Dec-12 18:47 
AnswerRe: i hv registerd in free web hostin website and i create an empty website... Pin
@AmitGajjar1-Jan-13 7:43
member@AmitGajjar1-Jan-13 7:43 
Questionregistration form Pin
khusali30-Dec-12 22:39
memberkhusali30-Dec-12 22:39 
AnswerRe: registration form Pin
_Amy31-Dec-12 18:45
member_Amy31-Dec-12 18:45 
AnswerRe: registration form Pin
@AmitGajjar1-Jan-13 7:55
member@AmitGajjar1-Jan-13 7:55 
AnswerRe: registration form Pin
Rahul Rajat Singh3-Jan-13 22:53
memberRahul Rajat Singh3-Jan-13 22:53 
QuestionSlider control in SSRS Pin
Sanjeewan9929-Dec-12 19:28
memberSanjeewan9929-Dec-12 19:28 
Questionadvertising platform...? Pin
Jassim Rahma29-Dec-12 10:24
memberJassim Rahma29-Dec-12 10:24 
GeneralRe: advertising platform...? Pin
jkirkerx30-Dec-12 14:38
memberjkirkerx30-Dec-12 14:38 
QuestionFile Upload Component...? Pin
Jassim Rahma28-Dec-12 10:44
memberJassim Rahma28-Dec-12 10:44 
AnswerRe: File Upload Component...? Pin
Sandeep Mewara28-Dec-12 22:14
mvpSandeep Mewara28-Dec-12 22:14 
QuestionCan we make a application to update FB status? Pin
anubhaw.gupta28-Dec-12 7:18
memberanubhaw.gupta28-Dec-12 7:18 
AnswerRe: Can we make a application to update FB status? Pin
Sandeep Mewara28-Dec-12 22:10
mvpSandeep Mewara28-Dec-12 22:10 
QuestionLive Streaming Broadcasting Pin
AhmedYehiaK28-Dec-12 4:19
memberAhmedYehiaK28-Dec-12 4:19 
AnswerRe: Live Streaming Broadcasting Pin
Sandeep Mewara28-Dec-12 22:05
mvpSandeep Mewara28-Dec-12 22:05 
GeneralRe: Live Streaming Broadcasting Pin
AhmedYehiaK29-Dec-12 1:03
memberAhmedYehiaK29-Dec-12 1:03 
QuestionHow to show the previous selected checked box in previous page in asp.net Pin
Arun kumar Gautam28-Dec-12 1:18
memberArun kumar Gautam28-Dec-12 1:18 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 28 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid