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

ASP.NET

 
GeneralRe: Page-wide state with Master pages? Pin
Tom Welch3-Apr-07 11:05
Tom Welch3-Apr-07 11:05 
Questionprinting a code behind textbox text value Pin
indian1433-Apr-07 5:53
indian1433-Apr-07 5:53 
QuestionPLease help getting error as The process cannot access the file 'D:\Inventracksys\Inventorytracking Vendorwisereport_1.emf' because it is being used by another process Pin
mohd imran abdul aziz3-Apr-07 4:33
mohd imran abdul aziz3-Apr-07 4:33 
Questiondate range search Pin
Kunal P3-Apr-07 4:24
Kunal P3-Apr-07 4:24 
QuestionRun time access Pin
viveknair203-Apr-07 4:02
viveknair203-Apr-07 4:02 
AnswerRe: Run time access Pin
Jaiprakash M Bankolli3-Apr-07 4:21
Jaiprakash M Bankolli3-Apr-07 4:21 
Questionsending a message Pin
Oga M3-Apr-07 3:53
Oga M3-Apr-07 3:53 
QuestionDynamically created button holding relevant data Pin
joon vh.3-Apr-07 3:52
joon vh.3-Apr-07 3:52 
Little problem involving ASP.NET, C#, ImageButtons and events

I have a list of many items. These are displayed as imagebuttons, and their NavigateUrl property is set to 'page.aspx?productID=' + item.productID. This works just fine, but the problem is that this actually results in a redirect, when a simple postback is enough.

The list of items is still displayed, and when redirect happens, it has to be retrieved again from the DB, whereas with postback it can just stay the same, and the new information is added to it.

How can I fix this? Is there a way to add some data (like productID) to a button, give all the dynamic buttons the same event, so that when it is pressed, you can get the information from the object sender parameter in the event?

Thank you





Visual Studio can't evaluate this, can you?
public object moo<br />
        {<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}

AnswerRe: Dynamically created button holding relevant data Pin
Venkatesh Mookkan3-Apr-07 19:07
Venkatesh Mookkan3-Apr-07 19:07 
Question2 connect compare validator wit database [modified] Pin
mvj_asp3-Apr-07 2:22
mvj_asp3-Apr-07 2:22 
AnswerRe: 2 connect compare validator wit database Pin
Not Active3-Apr-07 3:36
mentorNot Active3-Apr-07 3:36 
Questionpop up blocker Pin
harsh_c3-Apr-07 2:13
professionalharsh_c3-Apr-07 2:13 
AnswerRe: pop up blocker Pin
kubben3-Apr-07 2:25
kubben3-Apr-07 2:25 
GeneralRe: pop up blocker Pin
harsh_c4-Apr-07 2:25
professionalharsh_c4-Apr-07 2:25 
QuestionArchitectural discussion of Digital Signature - Detached or embedded? Pin
priyank853-Apr-07 2:11
priyank853-Apr-07 2:11 
QuestionJoin Query in sql Pin
samsonx3-Apr-07 1:16
samsonx3-Apr-07 1:16 
AnswerRe: Join Query in sql Pin
ToddHileHoffer3-Apr-07 4:08
ToddHileHoffer3-Apr-07 4:08 
AnswerRe: Join Query in sql Pin
Jaiprakash M Bankolli3-Apr-07 4:27
Jaiprakash M Bankolli3-Apr-07 4:27 
GeneralRe: Join Query in sql Pin
ToddHileHoffer3-Apr-07 4:47
ToddHileHoffer3-Apr-07 4:47 
QuestionForms Authentication For MultiProject Solution Pin
shareknk3-Apr-07 0:43
shareknk3-Apr-07 0:43 
QuestionPlease Help me Soon Pin
Mkanchha3-Apr-07 0:35
Mkanchha3-Apr-07 0:35 
AnswerRe: Please Help me Soon Pin
Sathesh Sakthivel3-Apr-07 0:40
Sathesh Sakthivel3-Apr-07 0:40 
QuestionInterview Questions on ObjectOriented Programming Pin
siddisagar3-Apr-07 0:30
siddisagar3-Apr-07 0:30 
AnswerRe: Interview Questions on ObjectOriented Programming Pin
Sathesh Sakthivel3-Apr-07 0:38
Sathesh Sakthivel3-Apr-07 0:38 
AnswerRe: Interview Questions on ObjectOriented Programming Pin
sra223-Apr-07 1:42
sra223-Apr-07 1:42 

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.