|
Hi
i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes can anyone help
|
|
|
|
|
My friend, you will need to read about User Controls and Page Life cycle as well in order to create your dynamic controls at runtime, not hard if you got the idea right, and I believe CP has some articles on creating dynamic controls at runtime in asp.net, for saving the data I don't see this as an issue ... it will be as just any other static user control.
Sincerely Samer Abu Rabie
Note: Please remember to rate this post to help others whom reading it.
|
|
|
|
|
Ravi_21 wrote: i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes
What is your problem ?
cheers,
Abhijit
|
|
|
|
|
I need to pass the parameter from th aspx file to user control their i have create a fucntion to retreive data ob behalf of certain criterias
|
|
|
|
|
You might want to have a look at the repeater control.
|
|
|
|
|
Hi All,
I am creating checkbox dynamically inside a pannel while click a button.
how to get which check is check or not on submission of form.
Plz any body can sugest me how to make it.
thanks in advance.
|
|
|
|
|
You are creating dynamic controls without having proper knowledge on ASP.NET page life cycle and viewstate. ASP.NET will not maintain viewstate for your dynamic control as it is created in button click event.
|
|
|
|
|
First find all the child controls in panel
then check which are checkboxes in that collection and then their checked or unchecked status.
Cheers!!
Brij
|
|
|
|
|
It's not happening....I am creating 5 dynamic controls but when i am trying to count panel1.controls.count = 1 resulting.
So please sugest me how to do.
thanks.
|
|
|
|
|
Hi to all,
I m working on a website in which I want to find which users are online or offline ,want to count their no.,and want to find their UserIds.
|
|
|
|
|
I have one idea, When user login into the sides , store the UserID in a database and this are the user who are presently online. When users logoff from the sites remove the user id .
This is one of the simple approach that you can developed.
cheers,
Abhijit
|
|
|
|
|
Yeah m getting ur point but my confusion is about the page refresh how would I find the data after each refresh of a page.bacause current online and offline users can be changed in every second.So I will have to fetch data of every second.
|
|
|
|
|
Hmm, Don’t go for hitting database on every page refresh . That will hit badly on your performance. You caching. Add Dependency with caching data and database that when ever data will changed on a database your cache will be update. You just access cache data.
cheers,
Abhijit
|
|
|
|
|
You can do one thing for it.
Use a DB in which save every user login/logout detail with coresponding userids.It can done by Session_start and Session_end mathod in asax file.For the count ,take a application variable,update it every time on user's when login/logout.or simply get the same from DB.
Cheers!!
Brij
|
|
|
|
|
Ok but how to find the UserIds in asax
|
|
|
|
|
You wont get the userids in asax.UserID can be updated at the time of successful login in DB
Cheers!!
Brij
|
|
|
|
|
Thanx to both of You for ur kind suggestions .I will try to implement ur ideas.
|
|
|
|
|
what can be the modules of CRM.
|
|
|
|
|
Why don't you use Google for the same?
Cheers!!
Brij
|
|
|
|
|
crij wrote: what can be the modules of CRM.
As I am seeing you are a new members of CP , First of all Welcome to CP .
Before Post in any of the CP Forum, First Please Read the Posting guide line .
Did you every try to find out in Google. Have a look
what can be the modules of CRM[^]
cheers,
Abhijit
|
|
|
|
|
Hi friends
I have defined user profile in web.config file.
I have total five properties FirstName,LastName...etc.
Now I want to bind all profile data in gridview by using profile class.
How?
Thanks in advance
Khan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Check the link below.It's better if you use detailview
[^]">
Cheers!!
Brij
|
|
|
|
|
What are the search engines other than google
|
|
|
|
|
Ask Google only ...... 
|
|
|
|
|