I have been posting this question for the past 2 weeks and
there wasn't any response. I really don't understand why I
am not getting any responses. Does my question sound very
stupid? Anyway, here I am asking again. Someone please
please help me!!
How do I add a radiobuttonlist within a datalist
programatically .
My actual problem is with retrieving the user-input and
the form values at the same time.
I have a datalist control in my aspx page(this is
paginated and everytime submits to itself). I am
calling a function within my datalist that returns a html
control (radio button ) in the form of the string. I also
have asp server controls(labels ) in the datalist. When
the form is processed, I am retrieving the values of the
radio buttons through Request.form. To retrieve the values
of the asp server controls , I am using FindControl
method. But this is written in the Page_Load method, so
it returns the values of the current page before the page
gets submitted. I want the values after the page gets
submitted. How do I retrieve them.
If I use onserverclick on my button (which is a html
control with rollover capability <a href>) , the
onclick doesn't work fine for validating the html
controls. I don't have runat=server on my form tag when I
have onclick attribute on the button. I am new to
asp.net. I am not able to use both onclick and
onserverclick at the same time. Why is it so..
Please help!!
<form id="frmQuestion " method="post" >
<ASP:DataList id="Questions" ShowHeader="fal se"
ShowFooter="fal se" runat="server" >
<ItemTemplate >
<TABLE ALIGN="left" >
<td>
<asp:Label runat="server" Text='<%# DataBinder.Eval
(Container.Data Item, "MainQuestion_I D")%> '
ID="QuestionID " NAME="QuestionI D">
</asp:Label>
</td>
<td>
<asp:Label runat="server" Text='<%# DataBinder.Eval
(Container.Data Item, "MainQuestion_T xt")%>'
ID="QuestionTxt " NAME="QuestionT xt">
</asp:Label>
</td>
<td >
<%# DisplayAnswers( DataBinder.Eval
(Container.Data Item, "MainQuestion_I D"),DataBinder. Eval
(Container.Data Item, "QuestionTypeID ")) %>
</td>
</tr></TABLE>
</ItemTemplate>
</ASP:DataList>
<table align=right >
<tr><td>
<a id=btnForward href="#"
onMouseOut="bfo rward.src='imag es/bforward.gif';"
onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';"
runat=server onclick="return validate();"><I MG
SRC="images/bforward.gif" ALT="" NAME="bforward"
ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A>
</td></tr></table>
I would like to retrieve the question id and the answer
(user-input) at the same time on click of the button.
The
questionaire is paginated and this is the only form i am
using.
The code behind looks somewhat this way:
Sub Page_Load(ByVal Sender As Object, ByVal E As
EventArgs)
Dim oDt As DataTable
Dim oQuestion As Question ('This is the
class
in my business layer)
oQuestion = New Question
Questions.DataS ource = New DataView(oDt)
Questions.DataB ind()
End Sub
how do I get questionid's and user-input to
insert into the database. There can be subquestions 9 1389
Ani,
You need to set up your controls to use runat=server. Then in your page load
use:
If Not IsPostBack so that the controls will only be set up the first time.
Now on postback of the form the controls values won't be overwritten when
you get them via FindControl.
I hope this helps.
(I haven't taken a look at the forum in the past two weeks, I've been
working on a large project, or I would have answered you.)
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in message
news:0f******** *************** *****@phx.gbl.. . I have been posting this question for the past 2 weeks and there wasn't any response. I really don't understand why I am not getting any responses. Does my question sound very stupid? Anyway, here I am asking again. Someone please please help me!!
How do I add a radiobuttonlist within a datalist programatically .
My actual problem is with retrieving the user-input and the form values at the same time. I have a datalist control in my aspx page(this is paginated and everytime submits to itself). I am calling a function within my datalist that returns a html control (radio button ) in the form of the string. I also have asp server controls(labels ) in the datalist. When the form is processed, I am retrieving the values of the radio buttons through Request.form. To retrieve the values of the asp server controls , I am using FindControl method. But this is written in the Page_Load method, so it returns the values of the current page before the page gets submitted. I want the values after the page gets submitted. How do I retrieve them. If I use onserverclick on my button (which is a html control with rollover capability <a href>) , the onclick doesn't work fine for validating the html controls. I don't have runat=server on my form tag when I have onclick attribute on the button. I am new to asp.net. I am not able to use both onclick and onserverclick at the same time. Why is it so..
Please help!! <form id="frmQuestion " method="post" >
<ASP:DataList id="Questions" ShowHeader="fal se" ShowFooter="fal se" runat="server" > <ItemTemplate > <TABLE ALIGN="left" > <td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_I D")%> ' ID="QuestionID " NAME="QuestionI D"> </asp:Label>
</td>
<td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_T xt")%>' ID="QuestionTxt " NAME="QuestionT xt"> </asp:Label>
</td>
<td >
<%# DisplayAnswers( DataBinder.Eval (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval (Container.Data Item, "QuestionTypeID ")) %>
</td> </tr></TABLE> </ItemTemplate> </ASP:DataList>
<table align=right > <tr><td>
<a id=btnForward href="#" onMouseOut="bfo rward.src='imag es/bforward.gif';" onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" runat=server onclick="return validate();"><I MG SRC="images/bforward.gif" ALT="" NAME="bforward" ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A>
</td></tr></table>
I would like to retrieve the question id and the answer (user-input) at the same time on click of the button. The questionaire is paginated and this is the only form i am using.
The code behind looks somewhat this way:
Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
Dim oDt As DataTable Dim oQuestion As Question ('This is the class in my business layer) oQuestion = New Question
Questions.DataS ource = New DataView(oDt) Questions.DataB ind() End Sub
how do I get questionid's and user-input to insert into the database. There can be subquestions
To add a button to your list, add code like this to your itemdatabound
e.item.cells[0].Controls.Add(n ew radiobuttonlist ())
actually you should create your radiobutton outside, give it an ID, set its
value and then add it.
When you want to check the selection in the post, just do a find control on
the id and examine the selection property.
Does that help?
PS. I didn't see this post, i would have replied sooner. It's easier if you
give your questions a good subject so they have a better chance of catching
someone's attention
--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"ani" <an*******@disc ussions.microso ft.com> wrote in message
news:0f******** *************** *****@phx.gbl.. . I have been posting this question for the past 2 weeks and there wasn't any response. I really don't understand why I am not getting any responses. Does my question sound very stupid? Anyway, here I am asking again. Someone please please help me!!
How do I add a radiobuttonlist within a datalist programatically .
My actual problem is with retrieving the user-input and the form values at the same time. I have a datalist control in my aspx page(this is paginated and everytime submits to itself). I am calling a function within my datalist that returns a html control (radio button ) in the form of the string. I also have asp server controls(labels ) in the datalist. When the form is processed, I am retrieving the values of the radio buttons through Request.form. To retrieve the values of the asp server controls , I am using FindControl method. But this is written in the Page_Load method, so it returns the values of the current page before the page gets submitted. I want the values after the page gets submitted. How do I retrieve them. If I use onserverclick on my button (which is a html control with rollover capability <a href>) , the onclick doesn't work fine for validating the html controls. I don't have runat=server on my form tag when I have onclick attribute on the button. I am new to asp.net. I am not able to use both onclick and onserverclick at the same time. Why is it so..
Please help!! <form id="frmQuestion " method="post" >
<ASP:DataList id="Questions" ShowHeader="fal se" ShowFooter="fal se" runat="server" > <ItemTemplate > <TABLE ALIGN="left" > <td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_I D")%> ' ID="QuestionID " NAME="QuestionI D"> </asp:Label>
</td>
<td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_T xt")%>' ID="QuestionTxt " NAME="QuestionT xt"> </asp:Label>
</td>
<td >
<%# DisplayAnswers( DataBinder.Eval (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval (Container.Data Item, "QuestionTypeID ")) %>
</td> </tr></TABLE> </ItemTemplate> </ASP:DataList>
<table align=right > <tr><td>
<a id=btnForward href="#" onMouseOut="bfo rward.src='imag es/bforward.gif';" onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" runat=server onclick="return validate();"><I MG SRC="images/bforward.gif" ALT="" NAME="bforward" ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A>
</td></tr></table>
I would like to retrieve the question id and the answer (user-input) at the same time on click of the button. The questionaire is paginated and this is the only form i am using.
The code behind looks somewhat this way:
Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
Dim oDt As DataTable Dim oQuestion As Question ('This is the class in my business layer) oQuestion = New Question
Questions.DataS ource = New DataView(oDt) Questions.DataB ind() End Sub
how do I get questionid's and user-input to insert into the database. There can be subquestions
Ani,
It sounds as if you don't fully understand the differences between classic
asp and .net.
You are correct. If you are simply having a function output raw html to the
page then you can not use the runat=server tag.
The runat=server tag goes inside a control's tags in the .aspx file and
means that the control it is attached to will be evaluated by the server
before it is delivered to the client.
You should take a look at the sample code provided in the tutorials here: http://samples.gotdotnet.com/quickstart/aspplus/
These tutorials will give you the knowledge you need to understand how .net
works.
Best of luck!
--
S. Justin Gengo, MCP
Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in message
news:0c******** *************** *****@phx.gbl.. . Thanks for the reply. I'll try out as said. If I use runat attribute, the javascript doesn't work. That's the problem. How do I make both the javascript and onserverclick event work . The javascript validates the html controls. By the way, can I have both asp server controls and html controls, the way that I coded below. The html controls are returned in the form of the string from a function. I guess even if I use runat=server on my controls, it really makes no difference, because the html control is a text string returned to the page. And , I cannot have runat=server on the form tag, because my javascript isn't functioning properly if I use it. Could you please suggest something else..
Thanks again for the posts.
P.S People are very curious if I say 'IS THERE NO ONE TO HELP ME' as opposed to the subject being 'cannot use onserverclick and onclick the same time' :-) -----Original Message----- Ani,
You need to set up your controls to use runat=server. Then in your page loaduse: If Not IsPostBack so that the controls will only be set up the first time. Now on postback of the form the controls values won't be
overwritten whenyou get them via FindControl.
I hope this helps.
(I haven't taken a look at the forum in the past two weeks, I've beenworking on a large project, or I would have answered you.)
Sincerely,
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in messagenews:0f******* *************** ******@phx.gbl. .. I have been posting this question for the past 2 weeks and there wasn't any response. I really don't understand why I am not getting any responses. Does my question sound very stupid? Anyway, here I am asking again. Someone please please help me!!
How do I add a radiobuttonlist within a datalist programatically .
My actual problem is with retrieving the user-input and the form values at the same time. I have a datalist control in my aspx page(this is paginated and everytime submits to itself). I am calling a function within my datalist that returns a html control (radio button ) in the form of the string. I also have asp server controls(labels ) in the datalist. When the form is processed, I am retrieving the values of the radio buttons through Request.form. To retrieve the values of the asp server controls , I am using FindControl method. But this is written in the Page_Load method, so it returns the values of the current page before the page gets submitted. I want the values after the page gets submitted. How do I retrieve them. If I use onserverclick on my button (which is a html control with rollover capability <a href>) , the onclick doesn't work fine for validating the html controls. I don't have runat=server on my form tag when I have onclick attribute on the button. I am new to asp.net. I am not able to use both onclick and onserverclick at the same time. Why is it so..
Please help!! <form id="frmQuestion " method="post" >
<ASP:DataList id="Questions" ShowHeader="fal se" ShowFooter="fal se" runat="server" > <ItemTemplate > <TABLE ALIGN="left" > <td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_I D")%> ' ID="QuestionID " NAME="QuestionI D"> </asp:Label>
</td>
<td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_T xt")%>' ID="QuestionTxt " NAME="QuestionT xt"> </asp:Label>
</td>
<td >
<%# DisplayAnswers( DataBinder.Eval (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval (Container.Data Item, "QuestionTypeID ")) %>
</td> </tr></TABLE> </ItemTemplate> </ASP:DataList>
<table align=right > <tr><td>
<a id=btnForward href="#" onMouseOut="bfo rward.src='imag es/bforward.gif';" onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" runat=server onclick="return validate();"><I MG SRC="images/bforward.gif" ALT="" NAME="bforward" ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A>
</td></tr></table>
I would like to retrieve the question id and the answer (user-input) at the same time on click of the button. The questionaire is paginated and this is the only form i am using.
The code behind looks somewhat this way:
Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
Dim oDt As DataTable Dim oQuestion As Question ('This is the class in my business layer) oQuestion = New Question
Questions.DataS ource = New DataView(oDt) Questions.DataB ind() End Sub
how do I get questionid's and user-input to insert into the database. There can be subquestions
.
Now, how do I solve my problem. Should I change my code
now? Can't have have both onserverclick and onclick .I am
a newbie. I'll go thro' the tutorials.But, I need to get
this working soon. -----Original Message----- Ani,
It sounds as if you don't fully understand the
differences between classicasp and .net.
You are correct. If you are simply having a function
output raw html to thepage then you can not use the runat=server tag.
The runat=server tag goes inside a control's tags in
the .aspx file andmeans that the control it is attached to will be
evaluated by the serverbefore it is delivered to the client.
You should take a look at the sample code provided in the
tutorials here: http://samples.gotdotnet.com/quickstart/aspplus/
These tutorials will give you the knowledge you need to
understand how .networks.
Best of luck!
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in
messagenews:0c******* *************** ******@phx.gbl. .. Thanks for the reply. I'll try out as said. If I use
runat attribute, the javascript doesn't work. That's the problem. How do I make both the javascript and onserverclick event work . The javascript validates the html controls. By the way, can I have both asp server controls and html controls, the way that I coded below. The html controls are returned in the form of the string from a function. I guess even if I use runat=server on
my controls, it really makes no difference, because the
html control is a text string returned to the page. And , I cannot have runat=server on the form tag, because my javascript isn't functioning properly if I use it. Could you please suggest something else..
Thanks again for the posts.
P.S People are very curious if I say 'IS THERE NO ONE
TO HELP ME' as opposed to the subject being 'cannot use onserverclick and onclick the same time' :-) >-----Original Message----- >Ani, > >You need to set up your controls to use runat=server. Then in your page load >use: >If Not IsPostBack so that the controls will only be set up the first time. > >Now on postback of the form the controls values won't
be overwritten when >you get them via FindControl. > >I hope this helps. > >(I haven't taken a look at the forum in the past two weeks, I've been >working on a large project, or I would have answered
you.) > > >Sincerely, > >-- >S. Justin Gengo, MCP >Web Developer > >Free code library at: >www.aboutfortunate.com > >"Out of chaos comes order." > Nietzche > > >"ani" <an*******@disc ussions.microso ft.com> wrote in message >news:0f******* *************** ******@phx.gbl. .. >> I have been posting this question for the past 2
weeks and >> there wasn't any response. I really don't understand why I >> am not getting any responses. Does my question sound very >> stupid? Anyway, here I am asking again. Someone
please >> please help me!! >> >> How do I add a radiobuttonlist within a datalist >> programatically . >> >> My actual problem is with retrieving the user-input
and >> the form values at the same time. >> I have a datalist control in my aspx page(this is >> paginated and everytime submits to itself). I am >> calling a function within my datalist that returns a html >> control (radio button ) in the form of the string. I also >> have asp server controls(labels ) in the datalist.
When >> the form is processed, I am retrieving the values of
the >> radio buttons through Request.form. To retrieve the values >> of the asp server controls , I am using FindControl >> method. But this is written in the Page_Load
method, so >> it returns the values of the current page before the page >> gets submitted. I want the values after the page
gets >> submitted. How do I retrieve them. >> If I use onserverclick on my button (which is a
html >> control with rollover capability <a href>) , the >> onclick doesn't work fine for validating the html >> controls. I don't have runat=server on my form tag when I >> have onclick attribute on the button. I am new to >> asp.net. I am not able to use both onclick and >> onserverclick at the same time. Why is it so.. >> >> Please help!! >> >> >> >> <form id="frmQuestion " method="post" > >> >> <ASP:DataList id="Questions" ShowHeader="fal se" >> ShowFooter="fal se" runat="server" > >> <ItemTemplate > >> <TABLE ALIGN="left" > >> <td> >> >> <asp:Label runat="server" Text='<%#
DataBinder.Eval >> (Container.Data Item, "MainQuestion_I D")%> ' >> ID="QuestionID " NAME="QuestionI D"> >> </asp:Label> >> >> </td> >> >> <td> >> >> <asp:Label runat="server" Text='<%#
DataBinder.Eval >> (Container.Data Item, "MainQuestion_T xt")%>' >> ID="QuestionTxt " NAME="QuestionT xt"> >> </asp:Label> >> >> </td> >> >> <td > >> >> <%# DisplayAnswers( DataBinder.Eval >>
(Container.Data Item, "MainQuestion_I D"),DataBinder. Eval >> (Container.Data Item, "QuestionTypeID ")) %> >> >> </td> >> </tr></TABLE> >> </ItemTemplate> >> </ASP:DataList> >> >> <table align=right > >> <tr><td> >> >> <a id=btnForward href="#" >> onMouseOut="bfo rward.src='imag es/bforward.gif';" >> onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" >> runat=server onclick="return validate();"><I MG >> SRC="images/bforward.gif" ALT="" NAME="bforward" >> ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A> >> >> </td></tr></table> >> >> >> I would like to retrieve the question id and the
answer >> (user-input) at the same time on click of the button. >> The >> questionaire is paginated and this is the only form
i am >> using. >> >> The code behind looks somewhat this way: >> >> Sub Page_Load(ByVal Sender As Object, ByVal E As >> EventArgs) >> >> >> Dim oDt As DataTable >> Dim oQuestion As Question ('This is the >> class >> in my business layer) >> oQuestion = New Question >> >> Questions.DataS ource = New DataView(oDt) >> Questions.DataB ind() >> >> >> >> End Sub >> >> >> how do I get questionid's and user-input to >> insert into the database. There can be subquestions >> >> >> > > >. >
.
Is it that forms that have runat=server can't be validated
using javascript? -----Original Message----- Ani,
It sounds as if you don't fully understand the
differences between classicasp and .net.
You are correct. If you are simply having a function
output raw html to thepage then you can not use the runat=server tag.
The runat=server tag goes inside a control's tags in
the .aspx file andmeans that the control it is attached to will be
evaluated by the serverbefore it is delivered to the client.
You should take a look at the sample code provided in the
tutorials here: http://samples.gotdotnet.com/quickstart/aspplus/
These tutorials will give you the knowledge you need to
understand how .networks.
Best of luck!
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in
messagenews:0c******* *************** ******@phx.gbl. .. Thanks for the reply. I'll try out as said. If I use
runat attribute, the javascript doesn't work. That's the problem. How do I make both the javascript and onserverclick event work . The javascript validates the html controls. By the way, can I have both asp server controls and html controls, the way that I coded below. The html controls are returned in the form of the string from a function. I guess even if I use runat=server on
my controls, it really makes no difference, because the
html control is a text string returned to the page. And , I cannot have runat=server on the form tag, because my javascript isn't functioning properly if I use it. Could you please suggest something else..
Thanks again for the posts.
P.S People are very curious if I say 'IS THERE NO ONE
TO HELP ME' as opposed to the subject being 'cannot use onserverclick and onclick the same time' :-) >-----Original Message----- >Ani, > >You need to set up your controls to use runat=server. Then in your page load >use: >If Not IsPostBack so that the controls will only be set up the first time. > >Now on postback of the form the controls values won't
be overwritten when >you get them via FindControl. > >I hope this helps. > >(I haven't taken a look at the forum in the past two weeks, I've been >working on a large project, or I would have answered
you.) > > >Sincerely, > >-- >S. Justin Gengo, MCP >Web Developer > >Free code library at: >www.aboutfortunate.com > >"Out of chaos comes order." > Nietzche > > >"ani" <an*******@disc ussions.microso ft.com> wrote in message >news:0f******* *************** ******@phx.gbl. .. >> I have been posting this question for the past 2
weeks and >> there wasn't any response. I really don't understand why I >> am not getting any responses. Does my question sound very >> stupid? Anyway, here I am asking again. Someone
please >> please help me!! >> >> How do I add a radiobuttonlist within a datalist >> programatically . >> >> My actual problem is with retrieving the user-input
and >> the form values at the same time. >> I have a datalist control in my aspx page(this is >> paginated and everytime submits to itself). I am >> calling a function within my datalist that returns a html >> control (radio button ) in the form of the string. I also >> have asp server controls(labels ) in the datalist.
When >> the form is processed, I am retrieving the values of
the >> radio buttons through Request.form. To retrieve the values >> of the asp server controls , I am using FindControl >> method. But this is written in the Page_Load
method, so >> it returns the values of the current page before the page >> gets submitted. I want the values after the page
gets >> submitted. How do I retrieve them. >> If I use onserverclick on my button (which is a
html >> control with rollover capability <a href>) , the >> onclick doesn't work fine for validating the html >> controls. I don't have runat=server on my form tag when I >> have onclick attribute on the button. I am new to >> asp.net. I am not able to use both onclick and >> onserverclick at the same time. Why is it so.. >> >> Please help!! >> >> >> >> <form id="frmQuestion " method="post" > >> >> <ASP:DataList id="Questions" ShowHeader="fal se" >> ShowFooter="fal se" runat="server" > >> <ItemTemplate > >> <TABLE ALIGN="left" > >> <td> >> >> <asp:Label runat="server" Text='<%#
DataBinder.Eval >> (Container.Data Item, "MainQuestion_I D")%> ' >> ID="QuestionID " NAME="QuestionI D"> >> </asp:Label> >> >> </td> >> >> <td> >> >> <asp:Label runat="server" Text='<%#
DataBinder.Eval >> (Container.Data Item, "MainQuestion_T xt")%>' >> ID="QuestionTxt " NAME="QuestionT xt"> >> </asp:Label> >> >> </td> >> >> <td > >> >> <%# DisplayAnswers( DataBinder.Eval >>
(Container.Data Item, "MainQuestion_I D"),DataBinder. Eval >> (Container.Data Item, "QuestionTypeID ")) %> >> >> </td> >> </tr></TABLE> >> </ItemTemplate> >> </ASP:DataList> >> >> <table align=right > >> <tr><td> >> >> <a id=btnForward href="#" >> onMouseOut="bfo rward.src='imag es/bforward.gif';" >> onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" >> runat=server onclick="return validate();"><I MG >> SRC="images/bforward.gif" ALT="" NAME="bforward" >> ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A> >> >> </td></tr></table> >> >> >> I would like to retrieve the question id and the
answer >> (user-input) at the same time on click of the button. >> The >> questionaire is paginated and this is the only form
i am >> using. >> >> The code behind looks somewhat this way: >> >> Sub Page_Load(ByVal Sender As Object, ByVal E As >> EventArgs) >> >> >> Dim oDt As DataTable >> Dim oQuestion As Question ('This is the >> class >> in my business layer) >> oQuestion = New Question >> >> Questions.DataS ource = New DataView(oDt) >> Questions.DataB ind() >> >> >> >> End Sub >> >> >> how do I get questionid's and user-input to >> insert into the database. There can be subquestions >> >> >> > > >. >
.
Why not add validation controls to your project so validation is also done
on the server - instead of using your own validation.
"ani" <an*******@disc ussions.microso ft.com> wrote in message
news:00******** *************** *****@phx.gbl.. . Is it that forms that have runat=server can't be validated using javascript?
-----Original Message----- Ani,
It sounds as if you don't fully understand the differences between classicasp and .net.
You are correct. If you are simply having a function output raw html to thepage then you can not use the runat=server tag.
The runat=server tag goes inside a control's tags in the .aspx file andmeans that the control it is attached to will be evaluated by the serverbefore it is delivered to the client.
You should take a look at the sample code provided in the tutorials here: http://samples.gotdotnet.com/quickstart/aspplus/
These tutorials will give you the knowledge you need to
understand how .networks.
Best of luck!
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in messagenews:0c******* *************** ******@phx.gbl. .. Thanks for the reply. I'll try out as said. If I use runat attribute, the javascript doesn't work. That's the problem. How do I make both the javascript and onserverclick event work . The javascript validates the html controls. By the way, can I have both asp server controls and html controls, the way that I coded below. The html controls are returned in the form of the string from a function. I guess even if I use runat=server on my controls, it really makes no difference, because the html control is a text string returned to the page. And , I cannot have runat=server on the form tag, because my javascript isn't functioning properly if I use it. Could you please suggest something else..
Thanks again for the posts.
P.S People are very curious if I say 'IS THERE NO ONE TO HELP ME' as opposed to the subject being 'cannot use onserverclick and onclick the same time' :-) >-----Original Message----- >Ani, > >You need to set up your controls to use runat=server. Then in your page load >use: >If Not IsPostBack so that the controls will only be set up the first time. > >Now on postback of the form the controls values won't be overwritten when >you get them via FindControl. > >I hope this helps. > >(I haven't taken a look at the forum in the past two weeks, I've been >working on a large project, or I would have answered you.) > > >Sincerely, > >-- >S. Justin Gengo, MCP >Web Developer > >Free code library at: >www.aboutfortunate.com > >"Out of chaos comes order." > Nietzche > > >"ani" <an*******@disc ussions.microso ft.com> wrote in message >news:0f******* *************** ******@phx.gbl. .. >> I have been posting this question for the past 2 weeks and >> there wasn't any response. I really don't understand why I >> am not getting any responses. Does my question sound very >> stupid? Anyway, here I am asking again. Someone please >> please help me!! >> >> How do I add a radiobuttonlist within a datalist >> programatically . >> >> My actual problem is with retrieving the user-input and >> the form values at the same time. >> I have a datalist control in my aspx page(this is >> paginated and everytime submits to itself). I am >> calling a function within my datalist that returns a html >> control (radio button ) in the form of the string. I also >> have asp server controls(labels ) in the datalist. When >> the form is processed, I am retrieving the values of the >> radio buttons through Request.form. To retrieve the values >> of the asp server controls , I am using FindControl >> method. But this is written in the Page_Load method, so >> it returns the values of the current page before the page >> gets submitted. I want the values after the page gets >> submitted. How do I retrieve them. >> If I use onserverclick on my button (which is a html >> control with rollover capability <a href>) , the >> onclick doesn't work fine for validating the html >> controls. I don't have runat=server on my form tag when I >> have onclick attribute on the button. I am new to >> asp.net. I am not able to use both onclick and >> onserverclick at the same time. Why is it so.. >> >> Please help!! >> >> >> >> <form id="frmQuestion " method="post" > >> >> <ASP:DataList id="Questions" ShowHeader="fal se" >> ShowFooter="fal se" runat="server" > >> <ItemTemplate > >> <TABLE ALIGN="left" > >> <td> >> >> <asp:Label runat="server" Text='<%# DataBinder.Eval >> (Container.Data Item, "MainQuestion_I D")%> ' >> ID="QuestionID " NAME="QuestionI D"> >> </asp:Label> >> >> </td> >> >> <td> >> >> <asp:Label runat="server" Text='<%# DataBinder.Eval >> (Container.Data Item, "MainQuestion_T xt")%>' >> ID="QuestionTxt " NAME="QuestionT xt"> >> </asp:Label> >> >> </td> >> >> <td > >> >> <%# DisplayAnswers( DataBinder.Eval >> (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval >> (Container.Data Item, "QuestionTypeID ")) %> >> >> </td> >> </tr></TABLE> >> </ItemTemplate> >> </ASP:DataList> >> >> <table align=right > >> <tr><td> >> >> <a id=btnForward href="#" >> onMouseOut="bfo rward.src='imag es/bforward.gif';" >> onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" >> runat=server onclick="return validate();"><I MG >> SRC="images/bforward.gif" ALT="" NAME="bforward" >> ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A> >> >> </td></tr></table> >> >> >> I would like to retrieve the question id and the answer >> (user-input) at the same time on click of the button. >> The >> questionaire is paginated and this is the only form i am >> using. >> >> The code behind looks somewhat this way: >> >> Sub Page_Load(ByVal Sender As Object, ByVal E As >> EventArgs) >> >> >> Dim oDt As DataTable >> Dim oQuestion As Question ('This is the >> class >> in my business layer) >> oQuestion = New Question >> >> Questions.DataS ource = New DataView(oDt) >> Questions.DataB ind() >> >> >> >> End Sub >> >> >> how do I get questionid's and user-input to >> insert into the database. There can be subquestions >> >> >> > > >. >
.
Ani,
The way to solve your problem is to learn as quickly as you can how to use
the .Net language correctly. The reason people probably didn't respond to
your posts earlier is because it's easy to tell that you don't understand
how it works yet.
Yes that takes time which we developers are hard pressed to come by. But
trying to code any solution in any language without first learning that
language and learning the intricacies of how it works at the very best gives
you a solution that might work, but not efficiently. The difficulty here is
that your whole approach is questionable.
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** *****@phx.gbl.. . Now, how do I solve my problem. Should I change my code now? Can't have have both onserverclick and onclick .I am a newbie. I'll go thro' the tutorials.But, I need to get this working soon.
-----Original Message----- Ani,
It sounds as if you don't fully understand the differences between classicasp and .net.
You are correct. If you are simply having a function output raw html to thepage then you can not use the runat=server tag.
The runat=server tag goes inside a control's tags in the .aspx file andmeans that the control it is attached to will be evaluated by the serverbefore it is delivered to the client.
You should take a look at the sample code provided in the tutorials here: http://samples.gotdotnet.com/quickstart/aspplus/
These tutorials will give you the knowledge you need to
understand how .networks.
Best of luck!
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in messagenews:0c******* *************** ******@phx.gbl. .. Thanks for the reply. I'll try out as said. If I use runat attribute, the javascript doesn't work. That's the problem. How do I make both the javascript and onserverclick event work . The javascript validates the html controls. By the way, can I have both asp server controls and html controls, the way that I coded below. The html controls are returned in the form of the string from a function. I guess even if I use runat=server on my controls, it really makes no difference, because the html control is a text string returned to the page. And , I cannot have runat=server on the form tag, because my javascript isn't functioning properly if I use it. Could you please suggest something else..
Thanks again for the posts.
P.S People are very curious if I say 'IS THERE NO ONE TO HELP ME' as opposed to the subject being 'cannot use onserverclick and onclick the same time' :-) >-----Original Message----- >Ani, > >You need to set up your controls to use runat=server. Then in your page load >use: >If Not IsPostBack so that the controls will only be set up the first time. > >Now on postback of the form the controls values won't be overwritten when >you get them via FindControl. > >I hope this helps. > >(I haven't taken a look at the forum in the past two weeks, I've been >working on a large project, or I would have answered you.) > > >Sincerely, > >-- >S. Justin Gengo, MCP >Web Developer > >Free code library at: >www.aboutfortunate.com > >"Out of chaos comes order." > Nietzche > > >"ani" <an*******@disc ussions.microso ft.com> wrote in message >news:0f******* *************** ******@phx.gbl. .. >> I have been posting this question for the past 2 weeks and >> there wasn't any response. I really don't understand why I >> am not getting any responses. Does my question sound very >> stupid? Anyway, here I am asking again. Someone please >> please help me!! >> >> How do I add a radiobuttonlist within a datalist >> programatically . >> >> My actual problem is with retrieving the user-input and >> the form values at the same time. >> I have a datalist control in my aspx page(this is >> paginated and everytime submits to itself). I am >> calling a function within my datalist that returns a html >> control (radio button ) in the form of the string. I also >> have asp server controls(labels ) in the datalist. When >> the form is processed, I am retrieving the values of the >> radio buttons through Request.form. To retrieve the values >> of the asp server controls , I am using FindControl >> method. But this is written in the Page_Load method, so >> it returns the values of the current page before the page >> gets submitted. I want the values after the page gets >> submitted. How do I retrieve them. >> If I use onserverclick on my button (which is a html >> control with rollover capability <a href>) , the >> onclick doesn't work fine for validating the html >> controls. I don't have runat=server on my form tag when I >> have onclick attribute on the button. I am new to >> asp.net. I am not able to use both onclick and >> onserverclick at the same time. Why is it so.. >> >> Please help!! >> >> >> >> <form id="frmQuestion " method="post" > >> >> <ASP:DataList id="Questions" ShowHeader="fal se" >> ShowFooter="fal se" runat="server" > >> <ItemTemplate > >> <TABLE ALIGN="left" > >> <td> >> >> <asp:Label runat="server" Text='<%# DataBinder.Eval >> (Container.Data Item, "MainQuestion_I D")%> ' >> ID="QuestionID " NAME="QuestionI D"> >> </asp:Label> >> >> </td> >> >> <td> >> >> <asp:Label runat="server" Text='<%# DataBinder.Eval >> (Container.Data Item, "MainQuestion_T xt")%>' >> ID="QuestionTxt " NAME="QuestionT xt"> >> </asp:Label> >> >> </td> >> >> <td > >> >> <%# DisplayAnswers( DataBinder.Eval >> (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval >> (Container.Data Item, "QuestionTypeID ")) %> >> >> </td> >> </tr></TABLE> >> </ItemTemplate> >> </ASP:DataList> >> >> <table align=right > >> <tr><td> >> >> <a id=btnForward href="#" >> onMouseOut="bfo rward.src='imag es/bforward.gif';" >> onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" >> runat=server onclick="return validate();"><I MG >> SRC="images/bforward.gif" ALT="" NAME="bforward" >> ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A> >> >> </td></tr></table> >> >> >> I would like to retrieve the question id and the answer >> (user-input) at the same time on click of the button. >> The >> questionaire is paginated and this is the only form i am >> using. >> >> The code behind looks somewhat this way: >> >> Sub Page_Load(ByVal Sender As Object, ByVal E As >> EventArgs) >> >> >> Dim oDt As DataTable >> Dim oQuestion As Question ('This is the >> class >> in my business layer) >> oQuestion = New Question >> >> Questions.DataS ource = New DataView(oDt) >> Questions.DataB ind() >> >> >> >> End Sub >> >> >> how do I get questionid's and user-input to >> insert into the database. There can be subquestions >> >> >> > > >. >
.
Thanks for the reply. I'll try out as said. If I use runat
attribute, the javascript doesn't work. That's the
problem. How do I make both the javascript and
onserverclick event work . The javascript validates the
html controls. By the way, can I have both asp server
controls and html controls, the way that I coded below.
The html controls are returned in the form of the string
from a function. I guess even if I use runat=server on my
controls, it really makes no difference, because the html
control is a text string returned to the page. And , I
cannot have runat=server on the form tag, because my
javascript isn't functioning properly if I use it.
Could you please suggest something else..
Thanks again for the posts.
P.S People are very curious if I say 'IS THERE NO ONE TO
HELP ME' as opposed to the subject being 'cannot use
onserverclick and onclick the same time' :-) -----Original Message----- Ani,
You need to set up your controls to use runat=server.
Then in your page loaduse: If Not IsPostBack so that the controls will only be set
up the first time. Now on postback of the form the controls values won't be
overwritten whenyou get them via FindControl.
I hope this helps.
(I haven't taken a look at the forum in the past two
weeks, I've beenworking on a large project, or I would have answered you.)
Sincerely,
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in
messagenews:0f******* *************** ******@phx.gbl. .. I have been posting this question for the past 2 weeks
and there wasn't any response. I really don't understand
why I am not getting any responses. Does my question sound
very stupid? Anyway, here I am asking again. Someone please please help me!!
How do I add a radiobuttonlist within a datalist programatically .
My actual problem is with retrieving the user-input and the form values at the same time. I have a datalist control in my aspx page(this is paginated and everytime submits to itself). I am calling a function within my datalist that returns a
html control (radio button ) in the form of the string. I
also have asp server controls(labels ) in the datalist. When the form is processed, I am retrieving the values of the radio buttons through Request.form. To retrieve the
values of the asp server controls , I am using FindControl method. But this is written in the Page_Load method, so it returns the values of the current page before the
page gets submitted. I want the values after the page gets submitted. How do I retrieve them. If I use onserverclick on my button (which is a html control with rollover capability <a href>) , the onclick doesn't work fine for validating the html controls. I don't have runat=server on my form tag
when I have onclick attribute on the button. I am new to asp.net. I am not able to use both onclick and onserverclick at the same time. Why is it so..
Please help!! <form id="frmQuestion " method="post" >
<ASP:DataList id="Questions" ShowHeader="fal se" ShowFooter="fal se" runat="server" > <ItemTemplate > <TABLE ALIGN="left" > <td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_I D")%> ' ID="QuestionID " NAME="QuestionI D"> </asp:Label>
</td>
<td>
<asp:Label runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "MainQuestion_T xt")%>' ID="QuestionTxt " NAME="QuestionT xt"> </asp:Label>
</td>
<td >
<%# DisplayAnswers( DataBinder.Eval (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval (Container.Data Item, "QuestionTypeID ")) %>
</td> </tr></TABLE> </ItemTemplate> </ASP:DataList>
<table align=right > <tr><td>
<a id=btnForward href="#" onMouseOut="bfo rward.src='imag es/bforward.gif';" onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" runat=server onclick="return validate();"><I MG SRC="images/bforward.gif" ALT="" NAME="bforward" ID="bforward" WIDTH="78" HEIGHT="24" BORDER="0"></A>
</td></tr></table>
I would like to retrieve the question id and the answer (user-input) at the same time on click of the button. The questionaire is paginated and this is the only form i am using.
The code behind looks somewhat this way:
Sub Page_Load(ByVal Sender As Object, ByVal E As EventArgs)
Dim oDt As DataTable Dim oQuestion As Question ('This is the class in my business layer) oQuestion = New Question
Questions.DataS ource = New DataView(oDt) Questions.DataB ind() End Sub
how do I get questionid's and user-input to insert into the database. There can be subquestions
.
Thank you. I think I better learn and then come back to
you guys. -----Original Message----- Ani,
The way to solve your problem is to learn as quickly as
you can how to usethe .Net language correctly. The reason people probably
didn't respond toyour posts earlier is because it's easy to tell that you
don't understandhow it works yet.
Yes that takes time which we developers are hard pressed
to come by. Buttrying to code any solution in any language without first
learning thatlanguage and learning the intricacies of how it works at
the very best givesyou a solution that might work, but not efficiently. The
difficulty here isthat your whole approach is questionable.
Sincerely,
-- S. Justin Gengo, MCP Web Developer
Free code library at: www.aboutfortunate.com
"Out of chaos comes order." Nietzche
"ani" <an*******@disc ussions.microso ft.com> wrote in
messagenews:12******* *************** ******@phx.gbl. .. Now, how do I solve my problem. Should I change my code now? Can't have have both onserverclick and onclick .I
am a newbie. I'll go thro' the tutorials.But, I need to get this working soon.
>-----Original Message----- >Ani, > >It sounds as if you don't fully understand the differences between classic >asp and .net. > >You are correct. If you are simply having a function output raw html to the >page then you can not use the runat=server tag. > >The runat=server tag goes inside a control's tags in the .aspx file and >means that the control it is attached to will be evaluated by the server >before it is delivered to the client. > >You should take a look at the sample code provided in
the tutorials here: > >http://samples.gotdotnet.com/quickstart/aspplus/ > >These tutorials will give you the knowledge you need to understand how .net >works. > >Best of luck! > >-- >S. Justin Gengo, MCP >Web Developer > >Free code library at: >www.aboutfortunate.com > >"Out of chaos comes order." > Nietzche > > >"ani" <an*******@disc ussions.microso ft.com> wrote in message >news:0c******* *************** ******@phx.gbl. .. >> Thanks for the reply. I'll try out as said. If I use runat >> attribute, the javascript doesn't work. That's the >> problem. How do I make both the javascript and >> onserverclick event work . The javascript validates
the >> html controls. By the way, can I have both asp server >> controls and html controls, the way that I coded
below. >> The html controls are returned in the form of the
string >> from a function. I guess even if I use runat=server
on my >> controls, it really makes no difference, because the html >> control is a text string returned to the page. And ,
I >> cannot have runat=server on the form tag, because my >> javascript isn't functioning properly if I use it. >> Could you please suggest something else.. >> >> Thanks again for the posts. >> >> P.S People are very curious if I say 'IS THERE NO
ONE TO >> HELP ME' as opposed to the subject being 'cannot use >> onserverclick and onclick the same time' :-) >> >> >> >> >-----Original Message----- >> >Ani, >> > >> >You need to set up your controls to use
runat=server. >> Then in your page load >> >use: >> >If Not IsPostBack so that the controls will only be
set >> up the first time. >> > >> >Now on postback of the form the controls values
won't be >> overwritten when >> >you get them via FindControl. >> > >> >I hope this helps. >> > >> >(I haven't taken a look at the forum in the past two >> weeks, I've been >> >working on a large project, or I would have answered you.) >> > >> > >> >Sincerely, >> > >> >-- >> >S. Justin Gengo, MCP >> >Web Developer >> > >> >Free code library at: >> >www.aboutfortunate.com >> > >> >"Out of chaos comes order." >> > Nietzche >> > >> > >> >"ani" <an*******@disc ussions.microso ft.com> wrote in >> message >> >news:0f******* *************** ******@phx.gbl. .. >> >> I have been posting this question for the past 2 weeks >> and >> >> there wasn't any response. I really don't
understand >> why I >> >> am not getting any responses. Does my question
sound >> very >> >> stupid? Anyway, here I am asking again. Someone please >> >> please help me!! >> >> >> >> How do I add a radiobuttonlist within a datalist >> >> programatically . >> >> >> >> My actual problem is with retrieving the user-
input and >> >> the form values at the same time. >> >> I have a datalist control in my aspx page(this is >> >> paginated and everytime submits to itself). I am >> >> calling a function within my datalist that
returns a >> html >> >> control (radio button ) in the form of the
string. I >> also >> >> have asp server controls(labels ) in the datalist. When >> >> the form is processed, I am retrieving the values
of the >> >> radio buttons through Request.form. To retrieve
the >> values >> >> of the asp server controls , I am using
FindControl >> >> method. But this is written in the Page_Load method, so >> >> it returns the values of the current page before
the >> page >> >> gets submitted. I want the values after the page gets >> >> submitted. How do I retrieve them. >> >> If I use onserverclick on my button (which is a html >> >> control with rollover capability <a href>) , the >> >> onclick doesn't work fine for validating the html >> >> controls. I don't have runat=server on my form
tag >> when I >> >> have onclick attribute on the button. I am new to >> >> asp.net. I am not able to use both onclick and >> >> onserverclick at the same time. Why is it so.. >> >> >> >> Please help!! >> >> >> >> >> >> >> >> <form id="frmQuestion " method="post" > >> >> >> >> <ASP:DataList id="Questions" ShowHeader="fal se" >> >> ShowFooter="fal se" runat="server" > >> >> <ItemTemplate > >> >> <TABLE ALIGN="left" > >> >> <td> >> >> >> >> <asp:Label runat="server" Text='<%# DataBinder.Eval >> >> (Container.Data Item, "MainQuestion_I D")%> ' >> >> ID="QuestionID " NAME="QuestionI D"> >> >> </asp:Label> >> >> >> >> </td> >> >> >> >> <td> >> >> >> >> <asp:Label runat="server" Text='<%# DataBinder.Eval >> >> (Container.Data Item, "MainQuestion_T xt")%>' >> >> ID="QuestionTxt " NAME="QuestionT xt"> >> >> </asp:Label> >> >> >> >> </td> >> >> >> >> <td > >> >> >> >> <%# DisplayAnswers( DataBinder.Eval >> >> (Container.Data Item, "MainQuestion_I D"),DataBinder. Eval >> >> (Container.Data Item, "QuestionTypeID ")) %> >> >> >> >> </td> >> >> </tr></TABLE> >> >> </ItemTemplate> >> >> </ASP:DataList> >> >> >> >> <table align=right > >> >> <tr><td> >> >> >> >> <a id=btnForward href="#" >> >> onMouseOut="bfo rward.src='imag es/bforward.gif';" >> >>
onMouseOver="bf orward.src='ima ges/bforward_f2.gif ';" >> >> runat=server onclick="return validate();"><I MG >> >> SRC="images/bforward.gif" ALT="" NAME="bforward" >> >> ID="bforward" WIDTH="78" HEIGHT="24"
BORDER="0"></A> >> >> >> >> </td></tr></table> >> >> >> >> >> >> I would like to retrieve the question id and the answer >> >> (user-input) at the same time on click of the
button. >> >> The >> >> questionaire is paginated and this is the only
form i am >> >> using. >> >> >> >> The code behind looks somewhat this way: >> >> >> >> Sub Page_Load(ByVal Sender As Object, ByVal E As >> >> EventArgs) >> >> >> >> >> >> Dim oDt As DataTable >> >> Dim oQuestion As Question ('This is
the >> >> class >> >> in my business layer) >> >> oQuestion = New Question >> >> >> >> Questions.DataS ource = New DataView
(oDt) >> >> Questions.DataB ind() >> >> >> >> >> >> >> >> End Sub >> >> >> >> >> >> how do I get questionid's and user-input to >> >> insert into the database. There can be
subquestions >> >> >> >> >> >> >> > >> > >> >. >> > > > >. >
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Carlos |
last post by:
I'm responsible for the content in a call center's intranet site.
There are approximately 600 pages on 7 sub-webs. I have access to the
sub-webs, but I don't have access to the root web or web server log.
My manager wants hit counters on all pages to determine which pages
are used and which ones aren't. I know hit counters are not accurate
tools for this purpose, but I would like further
information/ammunition.
I know about...
|
by: Michael Kalina |
last post by:
Because when I asked for comments on my site-design (Remember? My site,
your opinion!) some of you told me never to change anything on
font-sizes!
What do you guys think of that: http://www.clagnut.com/blog/348/
I hope that's going to be a good discussion!
Michael
|
by: Qin Chen |
last post by:
I will present very long code, hope someone will read it all, and teach me
something like tom_usenet.
This question comes to me when i read <<Think in C++>> 2nd, chapter 10 ,
name control, section "Static initialization dependency". There is a
example to show how to solve the prolem involved with a technique first
poineered by Jerry Schwarz while creating the iostream library (because the
definitions for cin, cout, and cerr are static...
|
by: ma740988 |
last post by:
I think I'm caught up in a circular dependency problem. I'd thought
forward declaration was the solution to my problem but I'm sadly
mistaken (perphaps i've been in the lab toooo long today).
The header file for FOO is composed of BAR, likewise BAR is composed
of FOO.
If I complile FOO.cpp, Visual Studio's first complaint (C2146 syntax
error, missing ; before foo - the next complaint is BAR::FOO missing
storage type) points to the ...
|
by: Angel |
last post by:
Hello again (and again, and again...)
I think I'm getting closer to solving my initial problem of calling
unmanaged code. I managed to call the functions with user-defined structs
w/o getting any run-time exceptions. The problem is that I'm receiving a
Failure return (it returns 1 = "Failure"). I have a feeling it may be that
the function's not reading the struct correctly.
This time I decided to display all the code (it's very short)....
| |
by: YYZ |
last post by:
I'm new to VB.net, but not new to OO in general, and I'm very strong in VB6.
However, I don't know what I did in VB.net to cause this to happen.
I've got 2 projects open at the same time, in the same solution. One is a Class
Library project that contains 1 form and 1 class. The other project is a normal
Windows app, and contains 2 forms, both inherited from the form in the class
library, by adding the line "Inherits...
|
by: jaso |
last post by:
Can you give any comments on this code?
I used one goto, is it bad?
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#define NOT_NULL 1
|
by: iKiLL |
last post by:
Hi all,
I am using C# on VS2005.
I have a solution with 2 projects, a Webservice and a Client application.
Both of these to projects can build compile and run.
|
by: techie |
last post by:
List of Solution manuals:
Engineering Circuit Analysis 6Ed - Hayt Solutions Manual
Norbury - Solutions manual for mechanics and thermodynamics
Physics For Scientists And Engineers - Solution Manual
RC Hibbeler statistics 11th edition
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |