|
Asp.Net Ajax 1.0 was previously called Atlas. They are mostly the same, but as development went along some things were changed so the former is not compatible with the latter.
|
|
|
|
|
Could nay one tell me or give me clear idea about the difference between Abstract and virtual keyword.i searched google but i cuoldnt get satisfiable solution.this was an interview question
thanks in advance
|
|
|
|
|
Virtual keyword is used to declare methods which allow derived classes to override the implementation, as some default implementation is already specified in the base class method. Where as abstract keyword is used to declare methods with empty body and derived classes have to write the implementation. This is the basic difference.
Regards,
Prakash Kalakoti
|
|
|
|
|
Virtual Keyword :
<br />
The virtual keyword is used to modify a method, property, indexer or event declaration, and allow it to be overridden in a derived class. <br />
When a virtual method is invoked, the run-time type of the object is checked for an overriding member. The overriding member in the most derived class is called, which might be the original member, if no derived class has overridden the member.<br />
<br />
<br />
Abstaract Keyword
<br />
The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes. Members marked as abstract, or included in an abstract class, must be implemented by classes that derive from the abstract class.<br />
Virtual properties behave like abstract methods, except for the differences in declaration and invocation syntax
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
thanks for the reply.if possible culd u give me the example for these keywords.that wuld b very helpful.
thanks in advance
|
|
|
|
|
Hi,
How to maintain the viewstate of a datagrid which is updated using javascript.
If i do a postback then the updated values are not maintained.
Can anyone tell me how to do it.
Regards,
Riz
|
|
|
|
|
Unless there is a component out there for Javascript to be able to update the viewstate then you will have to find another way to alert the server that changes have been made. You can probably include a hidden field that the javascript can change at the same time as the grid. The Server will then pick up the value of the hidden field which you can then act on.
|
|
|
|
|
Hi,
I am using a listbox in the grid so there can be many records in the listbox in each row of the grid.I am updating the entire grid with all the values in the list boxes in the end.The values in the listboxes for each row in the grid can be different. It is not possible to use a hidden field here so there can be any number of records in the listboxes.
Do u have any other alternative?
Regards,
Riz
|
|
|
|
|
hi,
i download source code of AspNetChat .. when i tried to complie it is showing some reference error near webparts.. can anyone help me out how to resolve this problem..
thanks and regards
suman
i am beginner in asp.net development
|
|
|
|
|
prsuman wrote: when i tried to complie it is showing some reference error near webparts
That's a bit vague. Can you be more specific about what exactly this error is?
|
|
|
|
|
at least...what is the error?
<< >>
|
|
|
|
|
in *.aspx the Html code is :
...
this page is loaded after the file "temp.html" being updated. so when loads
the page ,it will show the context of "temp.html".
When visits this page at first time ,it does show the context of "temp.html"
but at the second time ,the frame does not show the context of "temp.html" which have been updated.
It shows the original one . but the file "temp.html" has been changed. It did not update automic.
so ,how to .....
HELP ME! Thanks!
--a chinese boy
|
|
|
|
|
Did u cache the page or ur browser does that , please check it ?
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
Thanks for ur answer,Bijay Bhaskar Deo.
The browser may cache the page,because when open the page in a new window,
the child page in the frame has updated.
And if open it in the old one ,it unchanged.
Yet,when others visit this page that exists in my computer.In my system Temporary Internet Files ,it creates a file named "temp.html".
But the cilents(others)did not get the update in their page,still the old one .
code:
so,how to solve it ?
-- modified at 22:26 Wednesday 9th May, 2007
|
|
|
|
|
Hi there!
Is there any way to give different login url for different folders.
E.g. I have directory 'admin' where I want user to redirect to admin login page. This url is different then the main site login page.
It's urgent!
puranonnet@hotmail.com
www.ibrinte.com
|
|
|
|
|
IMO, yes...it just depends on your business...how do you verify a user want to aceess admin section or another section?
<< >>
|
|
|
|
|
1- User Role base security.
2- Place a separate web.config in the Admin folder and specify the Login page url for unauthenticated admin users.
Regards
Prakash Kalakoti
|
|
|
|
|
Hi guys,
Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ?
Thank you everyone....;)
AaronNeo
|
|
|
|
|
To Save data from combo box.
a> Iterate each row of the Gridview find the dropdown control in the gridview row using control id, get the selected value and update the value to the database.
b> Set the auto-post back of the dropdown to true and handle the selected change event, get the value and update it to the database.
To bind the control.
a> Set the datasource property at design time only by calling a server side function which returns a datatable or dataview object.
b> Or handle the row created event of the grid view, get the dropdown from the gridview row, set the datasource property.
Regards,
Prakash Kalakoti
|
|
|
|
|
I allready replied for this...
Check it out...
Sherin Iranimose
|
|
|
|
|
Hi all
Is there a way when writting response.write(table) from code behind to save the table in the body of the html file not outside it.
thanks
|
|
|
|
|
Use a literal control and assign the table to that
|
|
|
|
|
Thanks for ur response. I managed to assign the table to the literal control, but iam not being able to reference it. I want to iterate through this table and add values from it to database.
Thanks again
|
|
|
|
|
IMO, why dont you use asp table server control?
<< >>
|
|
|
|
|
This is what iam trying to do!!!
How can i fill this table from html file or literal control
thanks
|
|
|
|