Click here to Skip to main content
15,898,987 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionConnection string in asp connecting to sharepoint list as datasource Pin
Ghis1234518-Aug-09 6:53
Ghis1234518-Aug-09 6:53 
QuestionBackup problem Pin
monika_vasvani18-Aug-09 5:07
monika_vasvani18-Aug-09 5:07 
AnswerRe: Backup problem Pin
Siddiqui Muhammad18-Aug-09 6:34
Siddiqui Muhammad18-Aug-09 6:34 
Questionget hardware information of clients ? Pin
Lagziyan18-Aug-09 4:20
Lagziyan18-Aug-09 4:20 
AnswerRe: get hardware information of clients ? Pin
Abhishek Sur18-Aug-09 10:05
professionalAbhishek Sur18-Aug-09 10:05 
QuestionWorking with non english characters Pin
yogesh.rain18-Aug-09 3:38
yogesh.rain18-Aug-09 3:38 
AnswerRe: Working with non english characters Pin
Arindam Sinha18-Aug-09 4:32
Arindam Sinha18-Aug-09 4:32 
QuestionDatalist items disappear-Any help is appreciated Pin
Ersan Ercek18-Aug-09 3:34
Ersan Ercek18-Aug-09 3:34 
Hello,

The below code returns the image-button that causes the post back. However it causes another problem. when I clicked one of the image_button (that is placed in datalist), the items of that datalist disappear.

Please, please help. I am dealing with this problem for a while now, and it is drawing me crazy.

Please click on any "Ekle" button in this Page[^] to what I mean.

private string getPostBackControlName()
{
Control control = null;

string ctrlname = Page.Request.Params["__EVENTTARGET"];
if (ctrlname != null && ctrlname != String.Empty)
{
control = Page.FindControl(ctrlname);
}
else
{
string ctrlStr = String.Empty;
Control c = null;
foreach (string ctl in Page.Request.Form)
{
if (ctl.EndsWith(".x") || ctl.EndsWith(".y"))
{
ctrlStr = ctl.Substring(0, ctl.Length - 2);
c = Page.FindControl(ctrlStr);
}
else
{

c = Page.FindControl(ctl);
}
if (c is System.Web.UI.WebControls.Button ||
c is System.Web.UI.WebControls.ImageButton)
{
control = c;
}
}
}
if (control != null)
{
return control.ID;
}
else { return "budegil";}
}
Questiongridview with check box in it Pin
anbusenthil18-Aug-09 2:23
anbusenthil18-Aug-09 2:23 
AnswerRe: gridview with check box in it Pin
Blue_Boy18-Aug-09 2:58
Blue_Boy18-Aug-09 2:58 
AnswerRe: gridview with check box in it Pin
Arindam Sinha18-Aug-09 2:58
Arindam Sinha18-Aug-09 2:58 
Questionhow to add coding to the click event of the pager control in gridview Pin
anbusenthil18-Aug-09 1:08
anbusenthil18-Aug-09 1:08 
AnswerRe: how to add coding to the click event of the pager control in gridview Pin
Vimalsoft(Pty) Ltd18-Aug-09 1:30
professionalVimalsoft(Pty) Ltd18-Aug-09 1:30 
QuestionDisplaying row details in textboxes on mouseover of gridview row Pin
pari_memory18-Aug-09 0:28
pari_memory18-Aug-09 0:28 
AnswerRe: Displaying row details in textboxes on mouseover of gridview row Pin
Vimalsoft(Pty) Ltd18-Aug-09 1:10
professionalVimalsoft(Pty) Ltd18-Aug-09 1:10 
GeneralRe: Displaying row details in textboxes on mouseover of gridview row Pin
pari_memory18-Aug-09 1:47
pari_memory18-Aug-09 1:47 
Questiontextbox event Pin
mylogics18-Aug-09 0:08
professionalmylogics18-Aug-09 0:08 
AnswerRe: textbox event Pin
padmanabhan N18-Aug-09 0:12
padmanabhan N18-Aug-09 0:12 
GeneralRe: textbox event Pin
Christian Graus18-Aug-09 0:17
protectorChristian Graus18-Aug-09 0:17 
GeneralRe: textbox event Pin
mylogics18-Aug-09 0:22
professionalmylogics18-Aug-09 0:22 
AnswerRe: textbox event Pin
Christian Graus18-Aug-09 0:15
protectorChristian Graus18-Aug-09 0:15 
AnswerRe: textbox event Pin
Blue_Boy18-Aug-09 0:16
Blue_Boy18-Aug-09 0:16 
GeneralRe: textbox event Pin
mylogics18-Aug-09 0:25
professionalmylogics18-Aug-09 0:25 
GeneralRe: textbox event Pin
Blue_Boy18-Aug-09 0:42
Blue_Boy18-Aug-09 0:42 
AnswerRe: textbox event Pin
sajjy18-Aug-09 0:51
sajjy18-Aug-09 0:51 

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.