|
Hi friends,
I have a web form with a ListView bound to a DataView. I need to fire the OnSelectedIndexChanged event to capture the index in the ListView in order to retrieve the data from the DataView.
The problem I have is that this event does not fires when I click on a different item in the LV. It only fires when I change its content by filtering the DV etc...
What is happening here?...Is this event not suppose to fires when a user change their selection in the LV?
Thanks
|
|
|
|
|
Would you please tell me how can we use listview in web forms?
Sorry but I am not finding list view control for web froms in Microsoft controls.
Naveed Kamboh
|
|
|
|
|
My mistake....I mean ListBox control
I apologize for that.
|
|
|
|
|
why dont u use a combo box, for the same.
Kunal Piyush
|
|
|
|
|
how to change the color of selected child node treeview in asp.net
Piyush Vardhan Singh
Programmer
TAS NewDelhi
9313077379
|
|
|
|
|
hi i am developing a web basec app in c# using visual web dev
i have a listbox, that fills up dynamically on selection of a value of a drop down list.
now.. the items that are displayed in the listbox have multiple selection property..
Now on the click of the SUBMIT button.. i want all these selected items to be stored in a database.. obviously... i want an upper limit for the same.
now the items that are saved in the table were retrieved from another table..(using drop down box)...
PROBLEM
wat i want to ask is.. that how would i save the listbox items into the the table.. query????
secondly.. wen these items would be saved.. how would i retrieve their corresponding details from the other table.
thirdly.. any help in javascript to fix the upper limit.. need at client side..
Kunal Piyush
|
|
|
|
|
Hi!
Well, you should read these listbox item by item and load the selected items in a array, then send this array element by element to the table in the database using sql statements.
|
|
|
|
|
i tried a lot, but no luck
i initialized a string type array with size 6.
string[] items = new string;
now how should i connect it with the listbox items.
Kunal Piyush
|
|
|
|
|
hi all
if password is entered incorrectly 3 times then lock the username and display a warning message " account has been locked". pls contact the system administrator."
i want this code or logic.
pls help me
Gayatri
|
|
|
|
|
(1) add one column in a user table (IsLocked)
(2) when user submit user name and password maintain a counter in session variable
(3) if counter is 3 then update the table with the IsLocked property true
and then show the message........
cheack each postback with the database if IsLocked propert true then show message and make the control disable.
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Here i m just providing logic. I think this may be helpful to you.
Steps :
1. Declare a PWDCheck function which will recive username and pwd as an arguments.
2. Function will check the username and pwd against database userDetails table.
3. You have to declare a static variable, and increment the value of that variable, when pwd is invalid.
4. For locking the users a/c. In database, UserDetails table we should have a status variable for storing locking status.
5. If the value of the variable reaches to 3 then you update userdetails status variable to true.
Bala
|
|
|
|
|
Stop reposting the question!!
only two letters away from being an asset
|
|
|
|
|
Can have a sample coding for Ajax, Which can be used in ASP.Net 2.0
Regards,
LEE
|
|
|
|
|
Please go to www.asp.net site and choose ajax form there you will find sample toolkit and videos.
Naveed Kamboh
|
|
|
|
|
Hi I am new member of code project and new for asp.net platform I am having a problem
“ in a web form I have two text box first take some numeric value and as per the first text box value second text box changed automatically” through vb.net I know how to do this but in asp.net OnTextChanged event is not worked please assist me
Thanks with regards
P.Paul
Prakash
|
|
|
|
|
How can u get server side ontextchanged event like in windows application ? ASP.NET web application. It need a post back to call events. So make autopostback property of textbox to true which will make postback automatically.
If you want to do this without posting back form, use javascript
|
|
|
|
|
|
Dear All,
I want to create the following service but i donno how:
I want to allow people to send a short message to a specific number for a cinema with the movie code and that numbers sends backa message with show times from an already designed database.
What are the steps to do that?
What are the sites that provide this service?
What code technique i need to learn, i'm a junior asp.net developer
I would appreciate quick respoce
Best Regards
3ala2
|
|
|
|
|
try this
http://www.c4sms.com/codeExamples.asp
|
|
|
|
|
Thanx Navaneethkn for the reply
I guess this servive will do it and i'll try it but does it work on a desktop application?
And another thing, i want to computer "server" to receive the sms from the client and translate it's request to know what response to send
Are there more references?
Best Regards
3ala2
|
|
|
|
|
|
hi,
i want write code for page loader in my application, i have written a page in that i am using XMLHTTP request,using that i am hitting to other url & output which i get from that i am showing using my page, in that it takes 5-8 sec or may be more,during that i want to show page loader,so that end user can read some message otherwise he has to see a blank page.
can anyone help me how to show page loader.i am using asp.net & scripting language as c#.
|
|
|
|
|
Hi All,
I'm facing a problem with the page postback.
Its like....I have a treeview control whose first three levels are populating on page load. The next levels are being populated on “treeview_treenodeexpanded” event ,based on certain criteria .But each time we expand it the page gets posted back, as it is the case. I want the postback to be blocked somehow and the tree nodes need to be populated on expand event only.
Is AJAX a solution for this? If so, how to implement this?
I hope someone can help me out with this.
Thanks in advance.
Regards,
Jeeva
|
|
|
|
|
The “treeview_treenodeexpanded” event is server-side so therefor a postback is required for this event to fire.
The treeview has a built in Ajax-style feature that populates child nodes without a postback. To use it you have to set the PopulateOnDemand property of nodes to true.
However this will only work with the TreeNodePopulate event, not TreeNodeExpanded . You would have to change the populating code to use that event instead.
|
|
|
|
|
I 'll work with this.
Thanks a lot.
Regards,
Jeeva
|
|
|
|