Click here to Skip to main content
15,886,199 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDebugging Problem Pin
AliAmjad9-Jul-06 3:05
AliAmjad9-Jul-06 3:05 
AnswerRe: Debugging Problem Pin
Subrahmanyam K9-Jul-06 18:19
Subrahmanyam K9-Jul-06 18:19 
QuestionDisplaying IE Popup before download Pin
VenkataRamana.Gali9-Jul-06 1:09
VenkataRamana.Gali9-Jul-06 1:09 
QuestionHow and Where to store the data Pin
Pentellcc8-Jul-06 13:35
Pentellcc8-Jul-06 13:35 
AnswerRe: How and Where to store the data Pin
Guffa8-Jul-06 23:20
Guffa8-Jul-06 23:20 
GeneralRe: How and Where to store the data Pin
Pentellcc9-Jul-06 7:27
Pentellcc9-Jul-06 7:27 
AnswerRe: How and Where to store the data Pin
Guffa9-Jul-06 10:24
Guffa9-Jul-06 10:24 
Questionalphabetic paging of datagrid with C# Pin
anu_chandu8-Jul-06 12:05
anu_chandu8-Jul-06 12:05 
Smile | :) hi all,

i joined newly and am also new to asp.net.

i read the article on aplahabetic paging done with ref using .dll by Mr.Jitendra Bansiwal. it works fine but i have a few other complications so i developed the following code but it doesn't work. it went wrong in itemCreated and itemCommand event.

it would be helpful if any one can check out what's wtong with follwing code:


void GridView1_ItemCreated(Object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{ if (e.Item.ItemType == ListItemType.Footer)
{ e.Item.Cells.Clear();
TableCell tc = new TableCell();
tc.ColumnSpan = 2;
e.Item.Cells.Add(tc);
int i;
string s;
for (i=65;i<=65+25;i++)
{ LinkButton lb= new LinkButton();
LiteralControl lc =new LiteralControl();
lc.Text = " ";
s=Convert.ToString(i);
lb.Text = s;
lb.CommandName = "alpha";
lb.CommandArgument = s;
if (str==s)
{ lc.Text = s + " ";
tc.Controls.Add(lc);
}
else
{
tc.Controls.Add(lb);
tc.Controls.Add(lc);
}}}
protected void ItemCommand(Object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
if (e.CommandName == "alpha")
{ BindGrid(e.CommandArgument.ToString());}

}


Thanks in advance


}



Anu
QuestionASP.Net 2.0 Skins and Themes files to download Pin
Clickok8-Jul-06 12:04
Clickok8-Jul-06 12:04 
QuestionDoubt regarding AJAX Pin
ravindradonkada8-Jul-06 10:35
ravindradonkada8-Jul-06 10:35 
QuestionAbout property of FieldSize in access Pin
KSCsoft8-Jul-06 5:00
KSCsoft8-Jul-06 5:00 
AnswerRe: About property of FieldSize in access Pin
Guffa8-Jul-06 8:32
Guffa8-Jul-06 8:32 
Questioncreate user controls [modified] Pin
surshbabuk8-Jul-06 4:42
surshbabuk8-Jul-06 4:42 
Questionmodifying dataset values [modified] Pin
peter rankel8-Jul-06 4:04
peter rankel8-Jul-06 4:04 
AnswerRe: modifying dataset values Pin
Subrahmanyam K9-Jul-06 18:36
Subrahmanyam K9-Jul-06 18:36 
QuestionWhois Pin
MHASSANF8-Jul-06 4:01
MHASSANF8-Jul-06 4:01 
Questionhow to get the opposite directory? Pin
KSCsoft8-Jul-06 2:35
KSCsoft8-Jul-06 2:35 
AnswerRe: how to get the opposite directory? Pin
Guffa8-Jul-06 8:34
Guffa8-Jul-06 8:34 
Questionhow to get the opposite directory Pin
KSCsoft8-Jul-06 2:28
KSCsoft8-Jul-06 2:28 
AnswerRe: how to get the opposite directory Pin
Colin Angus Mackay8-Jul-06 2:34
Colin Angus Mackay8-Jul-06 2:34 
GeneralRe: how to get the opposite directory Pin
KSCsoft8-Jul-06 2:37
KSCsoft8-Jul-06 2:37 
GeneralRe: how to get the opposite directory Pin
cloudking1196610-Jul-06 2:34
cloudking1196610-Jul-06 2:34 
QuestionCombobox value in c# [modified] Pin
Nagraj Naik8-Jul-06 1:45
Nagraj Naik8-Jul-06 1:45 
AnswerRe: Combobox value in c# Pin
Reza Raad9-Jul-06 0:33
Reza Raad9-Jul-06 0:33 
Questionkeyascii Pin
Abhishek Joshi8-Jul-06 0:00
Abhishek Joshi8-Jul-06 0:00 

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.