|
Sir;
Thank you for ofering help, but really the problem was solved.
you said that my control could be replaced with ModalPopupExtender . Actually, my control uses that extender in order to provide some message box that can be used just like the will known System.Windows.Forms.MessageBox by providing the static(shared) method Show() overloads in addition to some feathures common to web controls.
A demo can explain that clearlly, yuo can see that on Message Box Control[^].
Help people,so poeple can help you.
|
|
|
|
|
i am making simple chat room in web. the page is refresh after 5sec. so when page is refresh the textbox is cleared. i dont want to clear the textbox. what i do?? or some other suggestions for chat page. thx in advance
|
|
|
|
|
Save values in cache or in viewstate and then retrieve it.
Check this.[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
the best way is to use a update pannel the advantage is that the user will not even come to know that the page is posted back as it uses AJAX and the text box will not go empty as well
|
|
|
|
|
can u give me example plz
|
|
|
|
|
|
If it interesting too you, I can give you example of simple comet chat(don't need page refresh).
|
|
|
|
|
i will be very thank full to you if help me
|
|
|
|
|
Hi
I have started learning Asp.net MVC.But i want to be a expert in it. I have
read asp.net forum .
Now plz let me know other useful resources to mvc
|
|
|
|
|
|
Thanks,a lot
|
|
|
|
|
Please help me...... as soon as possible
|
|
|
|
|
By term "Live Search", are you referring search in google/bing/yahoo i.e. out side of your project OR do you mean it by within a system ?
Regards
|
|
|
|
|
live search in my own project...
thanks for Quick reply
|
|
|
|
|
ok, let me assume that your project is related the shopping cart and you want to search on following criteria.
1. Product Name
2. Product Feature
3. Product SKU
4. Product Description
5. Product Price Range
6. On any other field specific to your project.
You can do something like below
1. Create a page which accept the input from customer in appropriate control
2. Collect all that input and pass it to the database(I assume SQL)
3. Create a stored procedure(SP) in the SQL which accept all the above collected input and pass it to the SP
4. In SP, you can SELECT the necessary fields from the table(s) and in the WHERE condition apply the filtering based on the passed parameter collected from the customer
5. Below is the example with one parameter.
SELECT ProductId, ProductName, ProductDescription, ProductSKU, ProductPrice FROM Product WHERE ProductName LIKE '%@ProductName%'
Here @ProductName is the search term collected from the customer.
Hope it helps.
Regards
|
|
|
|
|
well ! you dont understand my question.First i clarify it...
my project is online library, i want to give suggestions when user type text for search in textbox... As in google or yahoo website , suggestions have been given when we type text for search, this is called live search...
|
|
|
|
|
What you are telling is auto complete text in the search box.
You can use AJAX autocomplete extender for that.
Example[^]
Regards
|
|
|
|
|
Why didn't you give this information in the first place, or when you were asked for clarification? That way, you wouldn't have wasted anyones time, and it's called autocomplete not live search.
|
|
|
|
|
what i want to implement is called live search....
ok... but i have to search a lot for it...
thanks to all for positive response...
|
|
|
|
|
Shama Shahzadi wrote: what i want to implement is called live search....
No, it isn't, as you have been told. If you want argue rather than listen that's up to you but it won't endear you to the people who are trying to help you and will limited the help you get in the future.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
well thanks fo your kind information and comment... i will b carefull next time to argue...
and thanks to all who help me and give precious time, i appreciate them...
That's Aragon answer also helps to learn a new thing...
My fault is that i dont know the exact question what i want to ask...
|
|
|
|
|
I want to know how I can Share articles to social network like facebook , twitter ?
|
|
|
|
|
You have not specified from where you want to share the articles to any social network. I assume that you need to share it from your website.
For that you need to place any social media share tool. There are several ready tools are available. Also you can customize your own also.
Link for social media widgets[^]
Regards
|
|
|
|
|
|
Do you mean you want to implement that functionality, or you want to use it on Code Project? On Code Project articles, there is an icon to the right of the printer icon that allows you to share an article on various social media sites.
|
|
|
|