I'm sorry I thought the fellows at javascript would answer better. :(
zeego
Posts
-
Validation groups with jQuery validation plugin on ASP.NET webforms? -
Validate jQuery Modal ?I have different jQuery UI Modal dialogs on a webform. I need to emulate validation groups on each UI Modal so I was trying server side validators because I could not emulate validation groups with jQuery. I did not knew about page_validate previously. What do you suggest ? Should I just fire the server validation groups with Page_Validate or do I use a separate plugin ? :sigh:
-
Validation groups with jQuery validation plugin on ASP.NET webforms?How can I emulate validation groups on jQuery UI Modal dialogs on asp.net webforms? I am using multiple modals on my webform but can't get this to work. :wtf:
-
Validate jQuery Modal ?Actually the problem was modal being attached outside of
tag. Can you suggest any other jquery validation plugin which emulates validation groups on asp.net webforms ?
-
Validate jQuery Modal ?How can I get server side validators to work with JQuery UI Modal with validation groups ? :(
-
How to find application URL while using separate script file in asp.net ?I am trying to find the url of webservice from a page inside a subdirectory in my website. I am using a separate script file referenced in my page. This does not work in the script file
var pgUrl='<%= ResolveUrl("~/assets/WebServices/Admin/UsrRoleService.asmx") %>';
How do I find the application url in the script file ?
-
JSON Parser for asp.net 2 ? -
JSON Parser for asp.net 2 ?I want to parse/break json response sent by ajax.post into a class inside my business logic ? How do I do this with ASP.net 2.0 ?:~
-
summary classes for gridviewhow about using a data transfer object ? Do you have any example ?:~
-
summary classes for gridviewYes I know but what is recommended, using inheritance with the superclass or a new class overall ? Thanks, Mike.
-
summary classes for gridviewhello all, I have a object list(Customers) which I am binding to a gridview. Problem is that the Customers object has 30 fields/attributes & I am binding only 6 in the gridview columns, the rest are wasted. Should I make another class to deal with gridview only,but that would mean a lot of classes for gridviews alone ? Is there a way I can do this with inheritance making a child class or something ? Please help me. Thanks, Mike.
-
Checkbox list (Select/ Deselect) datatable/dataset.Anybody ? :doh:
-
Data set FilterWould'nt it be study_uid_mask=your_value; DataRow[] foundRows=ds.Tables[0].Select("myid ="+study_uid_mask); ? More on filter expressions here http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression.aspx[^]
-
Capturing Session value before session expireHi check this link http://aspalliance.com/520_Detecting_ASPNET_Session_Timeouts.all[^]
-
Data set FilterYou can either filter with a SQL query or use datatable's 'Select' method like DataRow[] dr=ds.Tables[0].Select("id="+yourid);
-
Checkbox list (Select/ Deselect) datatable/dataset.Hi I want to bind checkbox list with a datatable with select/deselect function corresponding in datatable rows deletion(deselect) insertion(select with duplicate row avoidance). Anyone has a working example ?
-
Filter 2 datatables in datasetThanks for the reply. I only want to filter out records in table3 which have zero id in table2 and have a non zero id in table1. The records with zero id in table 2 and not existing in table1 are to be included in table3. Actual problem is that, 1) On a webform, there is a list of records returned from datatabase (table 1) 2) In edit form, user can edit these records from a checkbox list 3) Now for the newly selected records, I am having a zero id (all operation is done in datable) 4) For previously selected records they have a non zero id. 5) Table 1 is original records, table2 is new list after selection 6) Now on form update button I have to find which records to insert into database and which ones to drop, update etc Hope you get my point. Can you help a little bit more ?:~
-
Filter 2 datatables in datasetHi I have a dataset with 2 datatables, I want to filter/compare the 2 tables and get results in way like Datatable1 ------------------ ID | Name ------------------ 1 XYZ 2 ZZZ Datatable 2 ------------------ ID | Name ------------------ 0 XYZ 0 ZZZ 0 PPP Now in datatable 3, I want results whose id is not zero in datable 2 and these records should come from datatable 1 and any new entries not existing in datatable1 as well which are in datatable2. So datatable 3 becomes, Datatable 3 (result) ------------------ ID | Name ------------------ 1 XYZ 2 ZZZ 0 PPP
-
Convert generic list into datatableHi, I have a generic list of objects returned and I want to store it in a datatable in viewstate as I have to do some in memory operations on the list (edit,update,delete) How to go about this task ? Mike.
-
Compare Datatables and get changed rows.Hi I have a gridview which has some records (recordID is being fetched from database) I load the results in datatable which has columns like -------------------------------------- RecordID | EmployeeID | Name | Address -------------------------------------- 1 4 John xyz 2 5 Smith xyz Now user can edit the records with a checkbox list (problem is that he can reselect the existing checked items again, so the recordID is null for reselected items, I set it to zero to distinguish all new records) So the new datatable becomes -------------------------------------- RecordID | EmployeeID | Name | Address -------------------------------------- 0 4 John xyz (reselected rows with 0 id) 0 5 Smith xyz (reselected rows with 0 id) 0 8 Evans xxx (new record) Now I am on form update button, I am trying to figure out how to find which records to insert and how to find records to do nothing with ? The reselected records already existing in database are creating problem for me. Mike.