|
If radio button is added dynamically, probably you can retrieve it from the Request.Params[]..the other way is that have a server side hidden field at first and in the javascript push the value into the hidden field and retrieve it in the post back..
.....
|
|
|
|
|
Hello all
I am working on a application in which user takes a survey.Each survey contain some element and element contain question. When user taking the survey then first i want to display Element name and below that question in that element like as follow.
Element 1
- Question 1
- Question 2
- Question 3
Element 3
- Question 1
- Question 2
Each survey can contain number of element and each element contain number of question. I want to display 10 question on each page next question on next page.
How could i do that. Each survey contain 1 to 100 element 1 and each element can contain 1 to 100 question.How could i do that?
My Element (Subcategory structure is as follow)
<br />
subcatid subcatname catid addeddate and editeddate<br />
<br />
and structure of question table is as follow<br />
<br />
qid catid question subcatid addeddate editeddate<br />
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
I find a repeater is the best way to render two levels of data, but you can use any data bound control you like, just bind to the inner data in the row bound event of the outer one.
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 )
|
|
|
|
|
Can you just tell me little bit logic so that i can start. I am retrieving all the question, element id from database using survey id.I want to use datalist control?
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
I would return a dictionary, with the keys being the questions and the values being the list of answers. I'd store it as a member variable. Then I'd bind to the keys collection, and for each key, I'd find an inner bound control that renders the answers, and bind to the matching list of answers.
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 )
|
|
|
|
|
Ok thanks i will try this..
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
I am using membershipprovider for login.When i tried to get the password of a user password retrival is not set error occurs .How can i get the password of a selected user so that i can change the password of the user using membership.changepassword method.Please help me to solve this error.
|
|
|
|
|
This is a good reason to write your own code and not use a black box. What is the error ?
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 )
|
|
|
|
|
Im working for a portal where i have to display various aspects in that page... one of them is displaying videos in my site..
Concept is, ill upload new videos in ftp and i ve to show those in my page.
Its something which is new to me and so i mandatorily need your help guys
Regards
Alamanda Prakash
|
|
|
|
|
You show videos by embedding a control that plays them in your site. Go to a site that plays videos and check out the html it generates. I think youtube use thier own player, you need one that uses windows media player.
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 )
|
|
|
|
|
ok ill try thanks
Regards
Alamanda Prakash
|
|
|
|
|
hi...i need to give the path of the webservice(which is running in another machine) in the serviceReference....if the webservice is in our solution then we use the following code
asp:servicereference path="~/WebServices/MySampleService.asmx"
but now my webservice is in another machine which is published.... i have written code like this...
asp:servicereference path="http://12.18.15.17/WebServices/MySampleService.asmx" <br />
but the javascript throws error "Mysampleservice" is undefined...
..can anyone suggest me how to fix this?
|
|
|
|
|
Hi
I open modal popup windows using java script in asp.net.
function OpenChild()
{
var WinSettings= "resizable=no;dialogWidth:510px;dialogHeight:350px;help:no;maximize:yes;minimize:yes;scrollbars:yes";
var MyArgs = window.showModalDialog("http://localhost/Test/Test.aspx",WinSettings );
}
Popup window is open well. But, there is lot of text on Test.aspx. Now, I want to select text for copy. But text is not selected. I would like to know that how to select text and right click of mouse on modal popup?
If, is there alternative way to do this please tell me.
Any help is appreciated.
Regards
Rajesh
rajesh
|
|
|
|
|
That's what modal means, you can't interact with the parent form.
You could use a floating DIV, which could be modeless.
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 )
|
|
|
|
|
Hi,
Thanks for reply
Actually, child modal popup windows contain lot of text. Now, I want to select that text so that I can copy and paste in text file. I am not taking about parent form. My question is concern with Child Modal Popup Windows.
Please tell me any other solution.
Regards
Rajesh
rajesh
|
|
|
|
|
Dear All,
i am using asp.net2.0 ,C# .
let me tell you scenario.
i built a web application called daily call report that have two classes in the folder app_code and other aspx file and its code behind file.
now i have to deploy this web application but problem is I have to incorporate this web application other web application that is my site will run thrugh other application whenever user select to go my site.
now i published my whole project and placed the all dll inside root folder (that is i placed my aspx pages inside folder called dailycallreport and all respective dll to bin folder ) now issue is the classes i have wriiten generates app_code dll and it conflict with existing app_code dll. i placed bin inside dailycallreport folder but i is not recongnizing . client is not giving all classes they used so it not possible to overwrite the same app_code i would like to know how can i placed my class file dll so that other setting does not affect ..
please suggest something.
Thank you.
regards
imran khan
|
|
|
|
|
Create a new app in IIS at the subfolder level, then deploy there
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 )
|
|
|
|
|
Hi all,
may be this is a very simple question but i am just getting wild on it. i have image path in a database and and its description which is a very long text now i want to display image in left and its description in right. I have table and in one row in td i have imaneg and in another i have is descrtion
<table>
<tr>
<td>
//display image here
</td>
//display description here
<td>
</td>
</tr>
</table>
now what happens is that i get a very long string in descriptin in single line so its td gets wider how can i fix this.so that the string is displaye like 100 charecter perline
i know this is very simple question but some time we get stuck.
one more question (not important to replay) does ane one provide me with idea like how can i make site like that of newspaper means layout once agin this question is really not importat to replay but earlier one i am just stuck
|
|
|
|
|
hiii.....try to set the width for the "td" to a certain value.... i hope this will solve ur prob
regards,
deep.
|
|
|
|
|
Ive read many an article where it suggests that having a website with a newspaper layout is very bad for usability.
There has to be a point where the text on screen is displaued differently to that of a newspaper.
What you could do is put an image in the top corner and make it look like a corner of a newspaper for style affects, however i think the text should be displayed normally.
Regarding your first question, I would just limit the lenght of the column that should move it onto the next line
|
|
|
|
|
Hello friends,
In my application i have to use anchor tag for redirecting to another page.
I want to pass customized url as url+querystring but unable to do it.
I have saved the querystring in a span.
but how to get value from span and pass it to anchor.
Please help me........
Thanks in advance......
Deepak Nigam
|
|
|
|
|
Why not just render it in the anchor in the first place ?
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 )
|
|
|
|
|
Hi
how can i implement SSO in ASP.NET with Windows 2003 Active Directory?
Thank you
Jack
|
|
|
|
|
I have an asp.NET 3.5 web project in C# that includes references to
System.Core
System.Data.Linq
System.Xml.Linq
and a page with the following test code ...
var a = (from b
in columns
where b.IndexOf("IDENTITY") == -1
select b).Single();
The solution compiles, but when I run the application I get the following error ...
Compilation Error
Description: An error occurred during the compilation of a
resource required to service this request. Please review
the following specific error details and modify your
source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'Linq'
does not exist in the namespace 'System' (are you missing an assembly reference?)
Source Error:
Line 15: using System.Text;
Line 16:
Line 17: using System.Linq;
Can anyone help?
EDIT: I've just found this page http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3114187&SiteID=1[^]
It looks like I need to add the correct version of the references and add some information to the web.config file.
EDIT 2: I've checked all the references and they are fine, now I get a different error ...
CS1026: ) expected
yet this works fine in a console application with exactly the same references!?
Jim
modified on Thursday, May 8, 2008 5:23 PM
|
|
|
|
|
I used to get a lot of errors about LINQ earlier.
You need to re-create the references again for LINQ from following path:
C:\WINDOWS\Microsoft.NET\Framework\v3.5
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|