We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Essential Grid Search Button

Thread ID:

Created:

Updated:

Platform:

Replies:

71692 Feb 9,2008 06:06 AM Feb 14,2008 04:48 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Ramazan
Asked On February 9, 2008 06:06 AM

Hi, How to change Grid's Search Button Text ?


Vishnu Kumar [Syncfusion]
Replied On February 14, 2008 04:48 AM

Hi Ramazan,

Thank you for your patience.

Issue: How to change Grid's Search Button Text

I regret to let you know that currently we do not provide direct support to change the search button text in our code library. But You can change the search button text using the below code snippet.


JavaScript:
$script type="text/javascript">
function Searchtext()
{
var tablecell=document.getElementById("GridGroupingControl1~SearchButton");
var button=tablecell.getElementsByTagName("INPUT")[0];
button.value="Search Text";
}

$/script>



You have to call the JavaScript function Searchtext in two places.
1. $body onload="Searchtext()">
2. $sfwg:gridgroupingcontrol AfterCallbackResponseProcessedScript="Searchtext()" id="GridGroupingControl1"

Note : Please note that we are used '$' instead of '<'

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Grid.Web/6.1.0.34/71692/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.





CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;