|
thanks a lot...
now the problem is that it submits the content of the search box... adding "?q=xcb" to the browser's url
is it possible to override this and force to load a specified link ?
thank you for your great help...
|
|
|
|
|
Yep, it is possible, just replace the document.myform.submit(); with
window.location.href="http://www.codeproject.com";
That will change the url of the current window.
Regards
Sebastian
|
|
|
|
|
yahooooo !
wonderful... it works.. you rock !
thank you so much
|
|
|
|
|
Can someone point me to a good resource or article as to how implement or build a wysiwyg editor into a .net website? I am looking for something similar what is used on this site to post message. Thanks in advance to all that reply.
|
|
|
|
|
There are several about, both free and paid for. Try here[^]
Bob
Ashfield Consultants Ltd
|
|
|
|
|
There's one here [^]on CP
|
|
|
|
|
thanks Jorgen. I'll take a look at this article.
|
|
|
|
|
I'm using the 3.5 version of ajax. I have a panel set tp be a modal popup, and inside I have a few radio buttons, a text box for a comment, and a button. The button submits fine, but the radio buttons are not retaining their checked value. I can set the selected value and it shows it as selected when the popup appears, but if I click any of the radiobuttons, none of them show as selected. If I click the botton, the checked property is false for all of them.
<asp:Panel ID="panelOutcomePopup" CssClass="OutcomePopup" runat="server" style="display:none;">
<div class="PopupHeader">
<table width="100%" cellspacing="2px" cellpadding="2px">
<tr>
<td>
Record Outcome
</td>
</tr>
</table>
</div>
<div class="PopupContent">
<div>Select the outcome below and enter a comment </div>
<asp:UpdatePanel ID="updatePanelErrors" runat="server">
<ContentTemplate>
<div><asp:ValidationSummary ID="validationSummary" runat="server" HeaderText="The following error(s) occurred:"
DisplayMode="BulletList" CssClass="ErrorBox"></asp:ValidationSummary></div><br />
<olympus:MultiValidator ID="multivalidator" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="updatePanelOutcomes" runat="server">
<ContentTemplate>
<div><asp:RadioButtonList ID="radioButtonListOutComes" runat="server" /></div>
<div><asp:RadioButton ID="radioButtonAdministered" Checked="true" runat="server"
GroupName="OutcomeGroup" Text="Administered Successfully" /></div><br />
<div><asp:RadioButton ID="radioButtonRefused" runat="server" GroupName="OutcomeGroup"
Text="Patient Refused" /></div><br />
<div><asp:RadioButton ID="radioButtonDropped" runat="server" GroupName="OutcomeGroup"
Text="Dropped" /></div><br />
<div><asp:RadioButton ID="radioButtonOther" runat="server" GroupName="OutcomeGroup"
Text="Other" /></div><br />
<div>Comment</div>
<div><asp:TextBox ID="textBoxComment" runat="server" TextMode="MultiLine"></asp:TextBox></div><br />
<div><asp:Button ID="buttonRecord" runat="server" Text="Record Outcome"
onClick="buttonRecord_Click" /></div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</asp:Panel>
<ajaxToolkit:ModalPopupExtender ID="modalPopupOutcome" runat="server" BehaviorID="modalPopupOutcome" BackgroundCssClass="modalBackground"
TargetControlID="panelOutcomePopup" PopupControlID="panelOutcomePopup" />
I do not want the radio buttons to perform postback because it causes the modal popup to hide.
Any ideas?
Broken Bokken
Broken Bokken
You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod
The story of your fighting is a poem of two words: YOU SUCK.
|
|
|
|
|
Are you sure you're not rebinding the radio buttons prior to checking to see if they are selected?
|
|
|
|
|
Thanks for your response.
No, I'm not binding the radio buttons at all. If I put text in the text box and click any of the buttons, the text is not cleared.
The behavior is mostly on the client side as far as them not showing selected. The button highlights and reacts to the click, but does not actually have the little blue circle in it, and does not show selected in tha backend.
Broken Bokken
You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod
The story of your fighting is a poem of two words: YOU SUCK.
|
|
|
|
|
I've been digging around and it appears to be the way I am showing the modal. Using a link button, it works fine. But I can't do that. I'm trigging a text changed event when the user clicks enter in a text box, I then validate the data entered, and then show the modal. modalPopupOutcome.Show() does not work.
Any ideas?
Broken Bokken
You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod
The story of your fighting is a poem of two words: YOU SUCK.
|
|
|
|
|
Hello
1-what is the meaning of "heavy weight Grid services"?
2- what differences are between "heavy weight Grid services" and "light weight Grid services"?
3-what are the uses of them?
THANKS
|
|
|
|
|
aref87 wrote: 1-what is the meaning of "heavy weight Grid services"?
2- what differences are between "heavy weight Grid services" and "light weight Grid services"?
3-what are the uses of them?
One weighs more than the other, you the heavyweight ones t stop bif things moving, use lightweight ones for smaller objects.
Or, to put it another way, do your own homework!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
i did not underestat!
|
|
|
|
|
Its called sarcasm. It means do your own homework, try google.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
You'll need to use Flash to urgently access your webcam.
|
|
|
|
|
hi
i have a form which contain three iframe like:-iframe1, iframe2 & iframe3.
i am click on iframe1 one content and want to get iframe2. how can i do this using javascript.
|
|
|
|
|
Hi. I'm creating a web site that requiring the user to enter some information and I want to put a ErrorProvider like guide in the text box of my website so that I wont get null input into my database.
Usually, I can do this in the Window form by just using the validation in the text box, but it when I tried it into the web form the code won't work. Can you give some alternative code in the web form?
by the way, I'm using a the VS 2008 web development.
Thanks in advance.
|
|
|
|
|
|
on hovering a link or menu i want to retrieve data from database related to that link and display the details in a div control. which ajax control that i want to use to implement this. urgent.
thanks
|
|
|
|
|
I remember seeing an article in CodeProject that emulates Google Suggest. But guess what i'm too lazy to search for it .
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
No one cares if it is urgent. Read the forum guidelines.
Blog link to be reinstated at a later date.
|
|
|
|
|
leckey wrote: Read the forum guidelines.
Chris is missing the guidelines at the top of this forum.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I suggest you to use JavaScript AJAX.
Fire a JavaScript function on mouse over. Make a server call using Get/Post method and fetch response from Server.
Display the Details in Div tag. You need not to use any control for implementation.
function ajax_CreateXMLHttpRequest()
{
var xmlHttpRequest = null;
if (window.XMLHttpRequest)
{
xmlHttpRequest = new XMLHttpRequest();
}
else if (typeof ActiveXObject != "undefined")
{
xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP");
}
return xmlHttpRequest;
}
function ajax_MakeAnAJAXGetCall()
{
var dtDate = new Date();
var tURL= "";
tURL = "functions_AJAX.aspx?<argumentlist>"
ajaxObj = ajax_CreateXMLHttpRequest();
if (ajaxObj != null)
{
var URL = tURL;
ajaxObj.open("GET", URL, true);
ajaxObj.onreadystatechange = ajax_CallBack;
ajaxObj.send(null);
}
return false;
}
function ajax_CallBack()
{
if (ajaxObj.readyState == 4)
{
if (ajaxObj.status == 200)
{
var ajaxResponse = ajaxObj.responseText;
}
}
}
</argumentlist>
Make a call to function ajax_MakeAnAJAXGetCall on mouse over event.
|
|
|
|