Click here to Skip to main content
15,914,943 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Doubts on ASP.NET compilation in 1.1 and 2.0. Pin
arunpnair4-Dec-06 19:47
arunpnair4-Dec-06 19:47 
GeneralRe: Doubts on ASP.NET compilation in 1.1 and 2.0. Pin
ednrgc5-Dec-06 1:56
ednrgc5-Dec-06 1:56 
QuestionHow do I make a server control with 2 child controls, AND design support? [modified] Pin
spazzman4-Dec-06 2:25
spazzman4-Dec-06 2:25 
AnswerRe: How do I make a server control with 2 child controls, AND design support? Pin
spazzman4-Dec-06 22:05
spazzman4-Dec-06 22:05 
QuestionText Box Problem Pin
Khan.Bangash4-Dec-06 1:35
Khan.Bangash4-Dec-06 1:35 
AnswerRe: Text Box Problem Pin
Haissam4-Dec-06 3:29
Haissam4-Dec-06 3:29 
Questionhow to display an image from datadase in a TemplateColumn Pin
rania_mansy4-Dec-06 1:34
rania_mansy4-Dec-06 1:34 
AnswerRe: how to display an image from datadase in a TemplateColumn Pin
Goalie354-Dec-06 8:22
Goalie354-Dec-06 8:22 
This isn't a complete solution but hopefully it will get you started....
This is a brief sample of a datagrid I created in v1.1 that had a "View Details" image button in the 1st column of the datagrid. This image was the same for each row with an image filepath that I hardcoded:

1) datagrid id="dgrdSample"
2) Add OnItemCommand="dgrdSample_ItemCommand" to the datagrid tag
3) First column was a "ButtonColumn":
<asp:ButtonColumn ButtonType="LinkButton" HeaderText="Sample" Text="<img src='../images/viewDetails.jpg' border='0'>" CommandName="select"></asp:ButtonColumn>

4) Add this to your codebehind:
protected void dgrdSample_ItemCommand(Object s, DataGridCommandEventArgs e)
{
//Add your code here for whatever you wish to happen
}

Hope this helps get you started.

-Goalie35



GeneralRe: how to display an image from datadase in a TemplateColumn Pin
rony_mansy5-Dec-06 0:58
rony_mansy5-Dec-06 0:58 
QuestionData Grid Pin
Shriya Kapoor4-Dec-06 1:27
Shriya Kapoor4-Dec-06 1:27 
AnswerRe: Data Grid Pin
_mubashir4-Dec-06 1:34
_mubashir4-Dec-06 1:34 
AnswerRe: Data Grid Pin
Khan.Bangash4-Dec-06 1:46
Khan.Bangash4-Dec-06 1:46 
AnswerRe: Data Grid Pin
saravanan054-Dec-06 10:36
saravanan054-Dec-06 10:36 
QuestionQuery String Encoding Pin
just3ala24-Dec-06 0:49
just3ala24-Dec-06 0:49 
AnswerRe: Query String Encoding Pin
Haissam4-Dec-06 0:54
Haissam4-Dec-06 0:54 
QuestionTo display Hourglass until the pages get loaded into frames Pin
333soori4-Dec-06 0:31
333soori4-Dec-06 0:31 
AnswerRe: To display Hourglass until the pages get loaded into frames Pin
Haissam4-Dec-06 0:47
Haissam4-Dec-06 0:47 
GeneralRe: To display Hourglass until the pages get loaded into frames Pin
333soori4-Dec-06 0:58
333soori4-Dec-06 0:58 
GeneralRe: To display Hourglass until the pages get loaded into frames Pin
Haissam4-Dec-06 1:04
Haissam4-Dec-06 1:04 
GeneralRe: To display Hourglass until the pages get loaded into frames Pin
333soori4-Dec-06 1:19
333soori4-Dec-06 1:19 
GeneralRe: To display Hourglass until the pages get loaded into frames Pin
333soori4-Dec-06 1:26
333soori4-Dec-06 1:26 
QuestionDifference b/w codeBehind and src Pin
aaraaayen4-Dec-06 0:29
aaraaayen4-Dec-06 0:29 
AnswerRe: Difference b/w codeBehind and src Pin
Haissam4-Dec-06 0:50
Haissam4-Dec-06 0:50 
QuestionAccessing Control of Another Page Pin
Khan.Bangash4-Dec-06 0:08
Khan.Bangash4-Dec-06 0:08 
AnswerRe: Accessing Control of Another Page Pin
Paddy Boyd4-Dec-06 0:22
Paddy Boyd4-Dec-06 0:22 

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.