|
i am using -->
i am using textEditor.but i donot know how to get text string within
tag .if you know the answer replay to me......(.net with c#)
|
|
|
|
|
If you put runat="server" then it will be a server control and accessible in your code behind by it's Id. However the client side ID may change as a result.
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 )
|
|
|
|
|
|
Hiii...
I am receiving this error :--->
Server encountered an internal error. For more information, turn on customErrors in the server's .config file.
Server stack trace:
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
1) After googling, I found that customErrors mode="off can help.
Presently its True on Server side. Like this
RemotingConfiguration.CustomErrorsEnabled(true);
2) I am using .Net 1.1 on the server side and .Net 2.0 on client side.
3) Not getting this problem frequently. It has only 5% chances.
4) When I debugging found some interesting stuff:
class One
{
public string m_sResult = null;
public string GetInfo(string sID)
{
try
{
if(OnRequested != null)
OnRequested(sID);
return m_sResult;
}
catch(Exception ex)
{
WriteLog(“ “);
}
}
}
class Two{
void OnRequestedHandler(string sID)
{
try
{
One.m_sReult = "Done";
}
catch(Exception ex)
{
One.m_sReult = ex.message;
}
}
}
From the client side, I am calling One.GetInfo() method.
a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done".
b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side.
So suggest me, what I should do to solve this problem.
I should use customErrors mode="off for better understanding?
I would appreciate any help or suggestions that anyone can provide.
Thank you.
Sidh
|
|
|
|
|
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
|
|
|
|