|
Mohammed Gouda wrote: I read it once before, and all I was asking for is a key to google it.
That is my sig, it appears on all my replies. It was not in any way aimed at you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
The technology which you are talking about is called Captcha. CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. There is already an excellent article on making and using a Captcha control right here on codeproject. check it out here:http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx[^]
|
|
|
|
|
Hi
I am using asp.net RSS toolkit
It works fine on local machine but fails on server
Does any1 know what port rss feed goes through?
cheers!
|
|
|
|
|
By default it should be port 80 until Server is configured to run HTTP connections from a different port.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi
I am working in Asp.Net. I need to create an xml empty file dynamically without using
add new item. Using code can i create an xml file in the application. I hope to reply for
my question.
Thanks
Guvera
Every Successful Person Have A Painful Story
|
|
|
|
|
It's just text, create it however you like. You can use the DOM ( XmlDocument ), the Xml streaming classes, or even a stringbuilder or just a static string
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello all,
I am developing a application in which user a is taking a survey.Survey contain a number of question. Number of question are not fixed.I am displaying 10 question on each page and on last page or survey i need to display summery of all question and answer that user has selected.Because i don't know number of question a survey has contain where should i redirect to user when he click on next link. A survey may also contain 5 question then in that case next page should be summery or it also contain 50 question so in that case after 5 page 6th page should be summery page. So anybody can tell me how should resolve the problem?
I can't use paging to data list because on last page i need to show finish link, which is not displayed on first pages. Starting pages of survey contain Next and Previous link and last page contain Previous and Finish link
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Is someone else doing the same, or have I answered this 4 times now ?
Yes, you CAN use the same page over and over. You just need to work out if you're showing the last page of questions and show your finish link accordingly.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have posted this question first time.
Can you tell me how can i use the same page again and again?
any link, reference or some information?
When user click on previous link then he must see previous page question and radio button list option selected if he select some option.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
OK - I've been answering someone else on the same front. That's cool.
I'd have a single page to show questions, a stored proc that returns questions a page at a time, and store what answers were given in the viewstate, so if the user goes back and forth, you can reset the answers. The stored proc should always return how many pages are in the set of questions, so that you can tell when you're viewing the last page.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
In your last reply you have told that i can use same page over and over. If my query return 45 rows then as per my requirement i need to display 10 questions on each page.
How can i use same page for displaying all question.
On page load i have displayed 10 question when user click on next link then i fetch next 10 question from db and bind to same data list and when he click on previous then again can i bind the first 10 question.
can i do this way. Is it correct?
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
rahul.net11 wrote: How can i use same page for displaying all question.
Because each time the page index increases, you ask for the next page of data from your data source, and bind it to the same control that renders the new questions same as the old ones.
rahul.net11 wrote: can i do this way. Is it correct?
Yes, the trick is, you need to store all the answers you were given, and as you're going back to the same page over and over, you can do that in viewstate instead of having to use the session
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for your help..
Just one more question.
Can i fetch all question from db or only top 10 question.
I am trying to implement that...
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
I have a gridview, with a text box column bound with it. In text box onchange event, i want to read the value of another column, that is present in the same row.
For example:
I have two fields, Is_Round (values as 0 or 1) and a text box bound column. For each row the Is_round value differs. when a text box value changes based on the Is_round value, i should round and show the new value in textbox, during onchange event.
I also tried with onchange = DisplayVal('<%#Eval(fieldname)%>');
onchange = 'DisplayVal(<%# Eval(fieldname)%>)'
But browser shows syntax error.
Plz advice me.
Muthu
|
|
|
|
|
Try this instead of just Eval, It's what I use in Gridviews:
<%# DataBinder.Eval(Container.DataItem, "ColumnName")%>
Hope that helps
Mark
|
|
|
|
|
Well Dear, I too use the same in gridviews.
Thing is, i must use the value in a js function.!
I have already tried with
onchange = DisplayVal('<%#DataBinder.Eval(Container.DataItem,"ColumnName")%>');
above one did not allow me, to switch over to design view. It showed a message, 'Form Tags are not well formed'
onchange = 'DisplayVal(<%#DataBinder.Eval(Container.DataItem,"ColumnName")%>')'
above one threw me a syntax error, during grid bound event.
Muthu
|
|
|
|
|
Hi all,
I am not asp.net 2.0 callback feature, I just want to know is there any disadvantage with this by means of any performance issue or any other, Can u pls guide me this regarding callback feature.
Thanks in advance.
|
|
|
|
|
Do you mean postbacks ? The disadvantage is that without it, writing web sites would be hell.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hai,
I am having one aspx page containing 3 pages in iframes. I am sending parameters in one page of iframes as querystring. How to get the querystring of that page in different pages of iframes. anybody help..
can we use like this
Response("../main/one.aspx?uid")
Regards
M.Ramesh
|
|
|
|
|
hai,
can we use like this..
Request("../main/one.aspx?Uid")
Regards
M.Ramesh
|
|
|
|
|
here[^]
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have a grid view with AutoGenerateDeleteButton and AutoGenerateEditButton set to true and and a Detailview with same sqldataosurce as gridview to allow insertion
So what I want to do is take that deletcommand isertcommand and updatecommand from codebehind using store procedure, how can I do this,plz help me
Or how can I provide to provide commandevent like edit delete and insert from codebehind
<asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="">]]>"
DeleteCommand="DELETE FROM [ElvsysCategory] WHERE [CatId] = @CatId" InsertCommand="INSERT INTO [ElvsysCategory] ([CatName],[CatDescription]) VALUES (@CatName,@CatDescription)"
SelectCommand="SELECT [CatId], [CatName],[CatDescription] FROM [ElvsysCategory]" UpdateCommand="UPDATE [ElvsysCategory] SET [CatName] = @CatName,[CatDescription]=@CatDescription WHERE [CatId] = @CatId">
<deleteparameters>
<asp:parameter name="CatId" type="Int32">
<updateparameters>
<asp:parameter name="CatName" type="String">
<asp:parameter name="CatDescription" type="String">
<asp:parameter name="CatId" type="Int32">
<insertparameters>
<asp:parameter name="CatName" type="String">
<asp:parameter name="CatDescription" type="String">
|
|
|
|
|
Use ObjectDataSource instead of SqlDataSource
Hope this helps...
|
|
|
|
|
justintimberlake wrote: So what I want to do is take that deletcommand isertcommand and updatecommand from codebehind using store procedure, how can I do this,plz help me
If you want to call the procedures on edit,update,delete button click,
there are events in the datagrid control
update-ondatagridupdating
delete=ondatagriddeleting
edit-ondatagridediting
or you can use the common rowcommand attribute for this.
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
I have developed an asp.net application and i used 'smo' objects to retrive metadata of a database in my application.....it's working fine when i run application... but after preparing setup file and deploying on local server its not retriving metadata......
Please help me to resolve this issue.....
Thanks in advance...
Vijay
|
|
|
|