|
savindra.bandi wrote: eer i want to allow user to add item 3
you can add item at run time
<br />
DropDownList1.Items.Add(new ListItem("text","Value"));<br />
savindra.bandi wrote: n the 3rd lstitem i want to allow user to edit his own item.
I think you can't do it using drop down list .
You can go with different approach by Adding one more TextBox
When user selects item from drop down list it will get into text where you can Edit it and After editing Add back to drop down list ...
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... "
|
|
|
|
|
Tnx mr sandeep,
I will look wat I have...
|
|
|
|
|
Hi to all
i used Radiobuttonlist for displaying the two radio buttons Gross & Net
& also i am having a checkbox on form when i click this checkbox then
this radio buttons should be enabled. I make this radiogross disabled on page load event. but it is not getting enabled.
|
|
|
|
|
I guees u should not use Radion Button List...
|
|
|
|
|
You can use this code make AutoPostback property true of the Checkbox
Write this code in Page load
<br />
if (CheckBox1.Checked)<br />
{<br />
RadioButtonList1.Enabled = true;<br />
}<br />
else<br />
RadioButtonList1.Enabled = false;<br />
<br />
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... "
|
|
|
|
|
Hi to all
<asp:RadioButtonList id="radioGross" runat="server" Width="193px" AutoPostBack="True" RepeatDirection="Horizontal"><br />
<asp:ListItem Value="1">Gross</asp:ListItem><br />
<asp:ListItem Value="2">Net</asp:ListItem><br />
</asp:RadioButtonList></TD><br />
& also i am having a checkbox on form when i click this checkbox then
this radio buttons should be enabled. I make this radiogross disabled.on page load event
|
|
|
|
|
Hi,
Anybody pls explain me why do we use a COM Component and Is COM Component very useful for .net application and if so pls explain me how it's useful for .net as i'm a newbie in .net and i'm eager to learn more about COM components as many users are highlighting more importance to COM component. pls help me with this issue...
Regards
Vijay.
|
|
|
|
|
vijay_83 wrote: why do we use a COM Component
COM componenets are very usefull if you want to use other OS applications in your own projects such as Excel,Winword , Internate Browser etc
vijay_83 wrote: Is COM Component very useful for .net application
Yes Actually DOT NET interanally uses COM+ technology COM is used to communicate with different languages.
Also COM has a major role in MSIDL Microsoft Interface defination Language
vijay_83 wrote: many users are highlighting more importance to COM component
No thats not true Using COM objects makes application bulky causing high memory usage.
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 a lot sandeep, it was very useful for me. can u plz redirect me with some example links for how we use COM component with dotnet application?
Regards
Vijay.
|
|
|
|
|
How much changes is reflected in the new Asp.Net Ajax 1.0 than it's previous version Atlas. What are the new features and what changes. Does the previous version compatable with the new version ?
I seek ur suggestion positively.
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
Asp.Net Ajax 1.0 is simple,good, easy to use yet powerful
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Thanks, But it isnot the answer i am seeking. Can u suggest me how much matching or difference it from Atlas
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
No they are not compatible. When I upgraded I had to change all naming prefixes from
|
|
|
|
|
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
|
|
|
|