|
I have three buttons in updatepanel. on mouseover of buttons i want to make different webusercontrols visible and change back colors. for this i need to execute code behind method. how to do that.
plz help
|
|
|
|
|
What i want is: i have three collapsiblepanels, when mouse is over one of them that
1. shall expand and other two shall collapse.
2. when mouse is out of all the three then only the collapsiblepanel on which mouse was over last time shall remain expanded.
3. expanding and collapsing shall be slow.
Thanx a lot
|
|
|
|
|
Hi,
I want to pass client sid value to server side. when I click radio button it calls javascript function where am getting radio button value and displaying in label. now when I click on Next button I wanted that radion button value. am adding radion buttons dynamically..
Can any one guide me.. am using asp.net 2.0 and c#.
Thanks
|
|
|
|
|
If the radio button is c# then just get the value as so
else if (RadioButtonList_update_type.SelectedValue == "something")
|
|
|
|
|
Hi,
am adding radio button dynamically. so on serverside Radiobuttonlist.selecteditem.value is not working. it is showing null ...
Can you tell me how to pass values from client side to server side.
Thanks
|
|
|
|
|
If yuo're adding them dynamically, the ids of the checked ones will be in the form object on postback. There will be no viewstate probably unless they are being added pruior to pageload.
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 )
|
|
|
|
|
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.
|
|
|
|