Click here to Skip to main content
15,917,642 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerSOLVED Pin
Le centriste28-Jan-09 4:52
Le centriste28-Jan-09 4:52 
QuestionASP.Net Development Server Issues [modified] Pin
Jacquers28-Jan-09 2:26
Jacquers28-Jan-09 2:26 
QuestionBuild Error Pin
ais0728-Jan-09 2:13
ais0728-Jan-09 2:13 
AnswerRe: Build Error Pin
mr_muskurahat28-Jan-09 3:52
mr_muskurahat28-Jan-09 3:52 
Questioncalling remote webservices from sharepoint using javascript Pin
gottimukkala28-Jan-09 0:47
gottimukkala28-Jan-09 0:47 
Questionemail not getting to destination address Pin
tomertro28-Jan-09 0:27
tomertro28-Jan-09 0:27 
AnswerRe: email not getting to destination address Pin
N a v a n e e t h28-Jan-09 1:16
N a v a n e e t h28-Jan-09 1:16 
QuestionMaintaining old .net 1.1 bound datagrid control Pin
jonatec27-Jan-09 22:31
jonatec27-Jan-09 22:31 
Hi.

I have been given a legacy dot net 1.1 system to maintain. It uses bounds controls and templates. I am not allowed to scrap the techniques used.

I have to introduce another column after "Question [Yes]" which has an image and a text field with a click event. But it is only enabled (displayed), if the data value of "DataItem.YesQuestionID" = 0.

Anyone know how to do this please?

Many thanks.

-----------------------------------------------------------------------------------
<pre>
&lt;TR&gt;
&lt;TD colSpan="2"&gt;&lt;asp:datagrid id="grdQuestionnaire" runat="server" CssClass="labeltext" Width="100%" Font-Size="X-Small"
AutoGenerateColumns="False"&gt;
&lt;Columns&gt;

&lt;asp:TemplateColumn HeaderText="Question"&gt;
&lt;ItemTemplate&gt;
&lt;asp:Label id="lblQuestion" runat="server" ToolTip='&lt;%# DataBinder.Eval(Container, "DataItem.QuestionText") %&gt;'&gt;
&lt;%# DataBinder.Eval(Container, "DataItem.QuestionID") %&gt;
&lt;/asp:Label&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;

&lt;asp:TemplateColumn HeaderText="Question [Yes]"&gt;
&lt;ItemTemplate&gt;
&lt;asp:Label id="lblYesQuestion" runat="server" ToolTip='&lt;%# DataBinder.Eval(Container, "DataItem.YesQuestionText") %&gt;'&gt;
&lt;%# DataBinder.Eval(Container, "DataItem.YesQuestionID") %&gt;
&lt;/asp:Label&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;

&lt;asp:TemplateColumn HeaderText="Question [No]"&gt;
&lt;ItemTemplate&gt;
&lt;asp:Label id="lblNoQuestion" runat="server" ToolTip='&lt;%# DataBinder.Eval(Container, "DataItem.NoQuestionText") %&gt;'&gt;
&lt;%# DataBinder.Eval(Container, "DataItem.NoQuestionID") %&gt;
&lt;/asp:Label&gt;
&lt;/ItemTemplate&gt;
&lt;/asp:TemplateColumn&gt;

&lt;/Columns&gt;
&lt;/asp:datagrid&gt;&lt;/TD&gt;
&lt;/TR&gt;
</pre>
-----------------------------------------------------------------------------------
<pre>
Private Sub LoadQuestionnaireDetails()

Dim QuestionnaireDS As Questionnaire = New Questionnaire

QuestionnaireDS = data.GetQuestionnaireDetails(cboQuestionnaire.SelectedValue)
grdQuestionnaire.DataSource = QuestionnaireDS
grdQuestionnaire.DataBind()

End Sub
</pre>
AnswerRe: Maintaining old .net 1.1 bound datagrid control Pin
Paddy Boyd28-Jan-09 2:03
Paddy Boyd28-Jan-09 2:03 
GeneralRe: Maintaining old .net 1.1 bound datagrid control Pin
jonatec28-Jan-09 2:31
jonatec28-Jan-09 2:31 
GeneralRe: Maintaining old .net 1.1 bound datagrid control Pin
Paddy Boyd28-Jan-09 2:33
Paddy Boyd28-Jan-09 2:33 
GeneralRe: Maintaining old .net 1.1 bound datagrid control Pin
jonatec28-Jan-09 2:34
jonatec28-Jan-09 2:34 
QuestionProblem with Login Control Pin
sarang_k27-Jan-09 22:23
sarang_k27-Jan-09 22:23 
AnswerRe: Problem with Login Control Pin
mr_muskurahat28-Jan-09 3:54
mr_muskurahat28-Jan-09 3:54 
GeneralRe: Problem with Login Control Pin
Ashutosh Phoujdar28-Jan-09 19:47
Ashutosh Phoujdar28-Jan-09 19:47 
GeneralRe: Problem with Login Control Pin
mr_muskurahat28-Jan-09 23:01
mr_muskurahat28-Jan-09 23:01 
QuestionHow to sum selected gridview values? Pin
TheRedEye27-Jan-09 21:27
TheRedEye27-Jan-09 21:27 
AnswerRe: How to sum selected gridview values? Pin
N a v a n e e t h27-Jan-09 22:01
N a v a n e e t h27-Jan-09 22:01 
AnswerRe: How to sum selected gridview values? Pin
Manas Bhardwaj27-Jan-09 22:39
professionalManas Bhardwaj27-Jan-09 22:39 
QuestionProblem in installing DotNetNuke Pin
Piyush Vardhan Singh27-Jan-09 20:34
Piyush Vardhan Singh27-Jan-09 20:34 
AnswerRe: Problem in installing DotNetNuke Pin
N a v a n e e t h27-Jan-09 20:38
N a v a n e e t h27-Jan-09 20:38 
GeneralRe: Problem in installing DotNetNuke Pin
Piyush Vardhan Singh27-Jan-09 20:45
Piyush Vardhan Singh27-Jan-09 20:45 
GeneralRe: Problem in installing DotNetNuke Pin
N a v a n e e t h27-Jan-09 20:47
N a v a n e e t h27-Jan-09 20:47 
GeneralRe: Problem in installing DotNetNuke Pin
Piyush Vardhan Singh27-Jan-09 20:50
Piyush Vardhan Singh27-Jan-09 20:50 
AnswerRe: Problem in installing DotNetNuke Pin
Abhijit Jana27-Jan-09 21:51
professionalAbhijit Jana27-Jan-09 21: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.