Click here to Skip to main content
15,892,965 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMigration problem Pin
yuvachandra15-Jul-07 21:10
yuvachandra15-Jul-07 21:10 
AnswerRe: Migration problem Pin
-Dr_X-18-Jul-07 10:16
-Dr_X-18-Jul-07 10:16 
QuestionHow to set calender control default year when it loaded Pin
rahul.net1115-Jul-07 20:51
rahul.net1115-Jul-07 20:51 
AnswerRe: How to set calender control default year when it loaded Pin
PrakashBhaskar15-Jul-07 21:11
PrakashBhaskar15-Jul-07 21:11 
GeneralRe: How to set calender control default year when it loaded Pin
rahul.net1115-Jul-07 21:57
rahul.net1115-Jul-07 21:57 
AnswerRe: How to set calender control default year when it loaded Pin
Saifi Hasan15-Jul-07 21:16
Saifi Hasan15-Jul-07 21:16 
Questionradgrid Pin
devsam15-Jul-07 20:49
devsam15-Jul-07 20:49 
AnswerRe: radgrid Pin
RepliCrux15-Jul-07 20:53
RepliCrux15-Jul-07 20:53 
devsam wrote:
Public Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged



Dim Ids As String = (RadGrid1.SelectedItems(0).OwnerTableView.DataKeyValues(RadGrid1.SelectedItems(0).ItemIndex)("ID"))


Your code is going in selected index change before there is any item in the grid. Write a check, something like this:

IF NOT RadGrid1.SelectedItems.Count = 0 THEN

and then write your code inside this If condition.
GeneralRe: radgrid Pin
devsam15-Jul-07 21:12
devsam15-Jul-07 21:12 
AnswerRe: radgrid Pin
_AK_15-Jul-07 20:58
_AK_15-Jul-07 20:58 
Questionradgrid Pin
devsam15-Jul-07 20:47
devsam15-Jul-07 20:47 
QuestionAsp.net 2.0 rss feed complete sourcecode or toolkit Pin
harryforum15-Jul-07 20:36
harryforum15-Jul-07 20:36 
AnswerRe: Asp.net 2.0 rss feed complete sourcecode or toolkit Pin
N a v a n e e t h15-Jul-07 20:48
N a v a n e e t h15-Jul-07 20:48 
QuestionHiding a querystring Pin
gauthee15-Jul-07 19:58
gauthee15-Jul-07 19:58 
AnswerRe: Hiding a querystring Pin
N a v a n e e t h15-Jul-07 20:18
N a v a n e e t h15-Jul-07 20:18 
GeneralRe: Hiding a querystring Pin
gauthee15-Jul-07 20:26
gauthee15-Jul-07 20:26 
GeneralRe: Hiding a querystring Pin
N a v a n e e t h15-Jul-07 20:37
N a v a n e e t h15-Jul-07 20:37 
GeneralRe: Hiding a querystring Pin
_AK_15-Jul-07 20:48
_AK_15-Jul-07 20:48 
AnswerRe: Hiding a querystring Pin
Vasudevan Deepak Kumar15-Jul-07 20:22
Vasudevan Deepak Kumar15-Jul-07 20:22 
GeneralRe: Hiding a querystring Pin
gauthee15-Jul-07 21:34
gauthee15-Jul-07 21:34 
GeneralRe: Hiding a querystring Pin
N a v a n e e t h15-Jul-07 23:07
N a v a n e e t h15-Jul-07 23:07 
AnswerRe: Hiding a querystring Pin
Guffa15-Jul-07 20:52
Guffa15-Jul-07 20:52 
GeneralRe: Hiding a querystring Pin
N a v a n e e t h15-Jul-07 20:57
N a v a n e e t h15-Jul-07 20:57 
AnswerRe: Hiding a querystring Pin
Guffa16-Jul-07 12:28
Guffa16-Jul-07 12:28 
GeneralRe: Hiding a querystring Pin
gauthee15-Jul-07 21:16
gauthee15-Jul-07 21:16 

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.