Showing posts with label displayed. Show all posts
Showing posts with label displayed. Show all posts

Wednesday, March 28, 2012

How do I modify the AutocompleteExtender?

I want to extend the AutoCompleteExtender so that a if the search returns a large number of results, the first 10 results are displayed and the user is given some indication that there are additional matching results, with the option for them to fetch more results. Can anyone give me any pointers as to how to get started with this as I'm new to Atlas?

Hi,

I think it will be difficult to accomplish this task with the AutoCompleteExtender since it's not possibile to pass additional paramters to the auto-complete service method.

Thanks for the reply Garbin.

That seems a real shame since the nature of my application means that unless I can provide this functionality the AutoCompleteExtender is not going to be any use to me... back to the drawing board I guess!

How do I modify the AutocompleteExtender?

I want to extend the AutoCompleteExtender so that a if the search returns a large number of results, the first 10 results are displayed and the user is given some indication that there are additional matching results, with the option for them to fetch more results. Can anyone give me any pointers as to how to get started with this as I'm new to Atlas (and the toolkit)?

This question doesn't involve the Atlas Control Toolkit; please try asking on one of the Atlas forums instead! Thanks!

Wednesday, March 21, 2012

How can I make a masked label in web forms?

I'm developing a web site using AJAX and I need to display some data in a label but the data must be displayed with a mask.

For example, if I have two textboxes and I wanna do a sum between then, the label must display the result. But, I don't know what can I do to use a masked label.

If somebody can help me I'll be very thankful.

Thanks in advanced

i dont know if i completely understand you. you say you need a lable to display a sum but you want it masked? what exactly do you mean by masked.

a masked label is a lable that replaces certain (or all) characters with something else. For example a credit card number in a masked label could look like

***** ***** **** 3182

you can use a simple string.Replace method, or regular expressions to mask the label. Textboxes even have a Password Type which will mask everything typed into them automatically

What exactly do you want to mask in your label?