Implementing problem
-
hi. im wondering how to implement a website im building. in short at has a login screen which a user can login and see a page with left div with information of some sort, middle div that holds couple of tabs, each tab should fill the div with a table of that tab(customers for example). the user will be able to add a client to the table, delete and edit. the other tabs should do the same, that is show table with edit,delete and insert. in my current implementation i use a user control for each tab. the user control have the table in it and the delete,insert,edit buttons in it. when the user delete a record for instance , id like to call a method in the user control that deletes this record and sends back 1 or 0 uppon success or failure. than using JS in the client i will remove that row in the table. likewise in the other buttons for insert and edit. the problem now is that i cant call to a method in the user control directly from JS because of .net limitations. any suggetions to overcome the problem or to use a different implementation?
-
hi. im wondering how to implement a website im building. in short at has a login screen which a user can login and see a page with left div with information of some sort, middle div that holds couple of tabs, each tab should fill the div with a table of that tab(customers for example). the user will be able to add a client to the table, delete and edit. the other tabs should do the same, that is show table with edit,delete and insert. in my current implementation i use a user control for each tab. the user control have the table in it and the delete,insert,edit buttons in it. when the user delete a record for instance , id like to call a method in the user control that deletes this record and sends back 1 or 0 uppon success or failure. than using JS in the client i will remove that row in the table. likewise in the other buttons for insert and edit. the problem now is that i cant call to a method in the user control directly from JS because of .net limitations. any suggetions to overcome the problem or to use a different implementation?
How about using WebService to perform Add/Delete operations? You can use js to call webservices.
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
-
How about using WebService to perform Add/Delete operations? You can use js to call webservices.
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
i thought about doing that. but im not quite sure if this is the best implementation. isnt using webservice can cause an overhead? is it conventional to use webservice for that reasons?