Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
New Member
Posts: 12
Registered: ‎05-17-2010

web lookup control

slx web lookup control condition use "Contains" by default.

Is it possible to use "StartWith" by default?

Highlighted
Nickel Contributor
Posts: 57
Registered: ‎03-18-2010

Re: web lookup control

I had the same problem.

I used some javascripts (jquery) to solve it.

my code in load action :

string script = @"
try{
$('#"+ lookupcontrol.ClientID +@"').find('a:first').click(function(event)
{
$('#" + lookupcontrol.ClientID + @"_lookup_operators').val('sw');
});
}
catch(e){
}";

ScriptManager.RegisterClientScriptBlock(this.Page,this.Page.GetType(),"Lookup SW", script, true);

Hope this help
Libert Damien