Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:834753
More Search Options
RSS Available
Matching Posts
Slow response when checking more than 2000 checkboxes
Hi, I am using asp.net, i am trying to check all the checkboxes in asp.net table control when user check the checkbox in table header like in yahoo inbox. It is working perfectly but my only concern is when there are more than 2000 rows. It does till check all the check boxes but it doesn't respond quickly. I am using following script to check/uncheck all the check boxes. -------------------------------------------------------------------------------------- function CheckAll() { NumberOfControls
Posted to
Client Side Web Development
(Forum)
by
momer123
on 11/3/2009
Re: Slow response when checking more than 2000 checkboxes
I am adding checkboxes dynamically into table rows. I know there won't be a case where user needs to select 1000 rows but but still i think there is a way of checking number of checkboxes in shorter time which i don't know.
Posted to
Client Side Web Development
(Forum)
by
momer123
on 11/3/2009
Re: Slow response when checking more than 2000 checkboxes
I have sorted out this problem by changing java script code. It works perfectly fine now. ----------------------------- function CheckAll() { var table = document.getElementById('tblData'); var allInputs = table.getElementsByTagName('input'); var length = allInputs.length; z = 0; if ( document.getElementById('cbSelectAll').checked == true ) { var check = true; } else { var check = false; } for(z=0; z<length ; z++) { allInputs[z].checked = check; } } -------------------
Posted to
Client Side Web Development
(Forum)
by
momer123
on 11/3/2009
Re: Slow response when checking more than 2000 checkboxes
Hi Bruce, Thanks for your input. I will test your code and let you know about the results. Could you pls explain your code? In your code for loop will also run for 2000 time isn't? So whats the difference b/w your code and mine? Thanks
Posted to
Client Side Web Development
(Forum)
by
momer123
on 11/3/2009
How to show google map on asp.net page?
Hi, I am showing address details on asp.net 3.5 page and there is "view map" button which suppose to show map of that address. I am wondering if anyone can provide working code for google map? I am also reading documention from google site. I have already got the usage key from the google. Thanks
Posted to
Web Forms
(Forum)
by
momer123
on 10/12/2009
Re: How to change dynamic control values on postback (OnBlur)
Hi Atif, i am creating dynamic textboxes on page load event but it doesn't change the value of text box onblur event. Have you tried to change the values of textbox onblur?
Posted to
Data Presentation Controls
(Forum)
by
momer123
on 10/8/2009
Re: How to change dynamic control values on postback (OnBlur)
Hi, On form_Load event, I am creating new dynamic text box controls and setting some default values in the text box so the first time you visit the page you will see the text boxes with some values in it. There is “Address Code” text box on the form ( this text box is NOT dynamically created), so when the user type the code in text box and click tab button ( or lost focus) then system get some values from the database against that address code and put them in dynamically created text boxes in table
Posted to
Data Presentation Controls
(Forum)
by
momer123
on 10/8/2009
How to change dynamic control values on postback (OnBlur)
Hi, I am adding few textboxs on asp.net table control. I need to change text box values on post back event. There is one text box on the form and onblur its calling post back event and adding new text boxes in table and setting their text values from array. But on post back event, table textboxs are not showing new values. They are showing just old values. It works fine if post back event is called on button click and text boxes show changed values. Can i anyone pls advise what i am doing wrong here
Posted to
Data Presentation Controls
(Forum)
by
momer123
on 10/6/2009
How to convert my asp code to asp.net 3.5
Hi, i am wondering if someone can convert my following asp code to vb.net/asp.net 3.5? I have tried download asp migration convertor but after installing it i can't find asp.net convertor option in file menu. I can only see vb6 convertor option. Here is my code: ------------------------------------------------- function Check_Postcode (byRef strPostcode) Dim strPostcodeRegExp(6) ' holds the regular expressions for valid postcodes Dim intCount ' For loop counter Dim strPostcodeCopy '
Posted to
Migrating from ASP to ASP.NET
(Forum)
by
momer123
on 10/2/2009
Can someone convert this vb-script to vb.net?
Hi, i am wondering if someone can convert this vb script code to vb.net: function Check_Postcode (byRef strPostcode) Dim strPostcodeRegExp(6) ' holds the regular expressions for valid postcodes Dim intCount ' For loop counter Dim strPostcodeCopy ' Copy of postcode ' Variables used to hold regular expression object Dim objRegExp, objMatches, objMatch ' Variables to hold list of valid letterrs for various parts of the post code. Dim strAlpha1, strAlpha2, strAlpha3, strAlpha4, strAlpha5
Posted to
Visual Basic .NET
(Forum)
by
momer123
on 10/1/2009
Page 1 of 9 (84 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online