|
why should i go for abstract class or interface .why should i give only the declaration for the methods etc..in abatract class or interface and give content in my derived classes..
|
|
|
|
|
This is not an ASP.NET question.
You'll see the use of these things as you write more complex projects.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi
I am using modal popup extender.
the popupcontrol is a panel with an update panel inside.
In here is cancel or save button.
Cancel takes the user back to the page but save should take the user to another page.
My question is how can I call an onclick event in modal popup extender?
thanks
|
|
|
|
|
Could you elaborate for which button your looking for onclick event?
|
|
|
|
|
Hi
I have a button in my popup panel which when clicked should run an onclick event.
The onclick event is not being called inside the panel.
How can I call an onclick event inside the panel which is the target control of the modal popup
thanks
|
|
|
|
|
You need to add onclick event from code behind.
E.g. btnOK.Attributes.Add("onClick", "return done();");
btnOk is id of the button placed inside the panel.
|
|
|
|
|
Can you post your aspx code ?
i think there is something wrong you are doing
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... "
Check My Blog
|
|
|
|
|
Ok
I have just figured out the problem and the solution is something that no one has suggested but may be very useful for any1 in the future. Might even write an article about using modal popup with button inside which requires onclick event.
I had to include UseSubmitBehavior="false" in the button which had the onclick
hope this helps someone in the future.
cheers
|
|
|
|
|
The database server is in the another machine and when i run the asp page from that particular machine, everything works fine
BUT when i run the asp page from localhost, it gives the error:
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
I don't know the problem. someone help me!
|
|
|
|
|
|
<----<a href="javascript:var win = window.open('\Blue_Max_Popup.aspx?item_id=<%# DataBinder.Eval(Container.DataItem,"Sch_Pro_Id") %>',null,'resizeable=yes,scrollbars=yes,width=600,height=600');">
<asp:Image ID="Image_Small" runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem,"Pro_Name") %>'
src='<%# Eval("Img_Url")%>' BorderColor="GradientInactiveCaption" /></a>--->
krishna veer singh
|
|
|
|
|
Hello all,
I need a treeview inside the dropdownlist. How can i do that one.
For example refer following link.
Click Here
Please guide me.
|
|
|
|
|
You can call it comboBox
If you want to create your own control then you will have to write large bunch of code in javascript
There are 3rd party combo box available check them you can use them
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... "
Check My Blog
|
|
|
|
|
case 1: local web service
I am able use the method in asmx file in my aspx i think it is a local web service
case 2: Remote web service
I am able to use the method remotely also by taking web reference in my solution explorer. Following link is free Web service to get Stock Quote of the company by passing the company symbol.
http://www.webservicex.net/stockquote.asmx?WSDL
where i am actually using SOAP I don't under stand can u please tell me where i am using SOAP.
Is any thing more i need to learn about web service, can u any one give me good links to download samples on web service
This is haneef.............................................................
|
|
|
|
|
|
what u want to say exactly
This is haneef.............................................................
|
|
|
|
|
Still ???
Click this: http://www.webservicex.net/stockquote.asmx?[^]
Can u see GetQuote?? THis is one function defined in that site, and u want to use that function to get Quotes of stocks right???
For that u call that function from ur site. THis mean u create an object of that function and accessing that from that host site.
This terms as Object Access...
And protocol for this is called Simple Object Access Protocol (SOAP)
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
Hi Guys
in my application i am using radio button list
this radio button list is binding from database
this is running successfully
but i want one will be checked by default
my code vb code is
str1 = "select Junior_Senior from Size where Sch_Pro_Id=" & Sch_Pro_Id & " group by Junior_Senior"
Dim ds As DataSet = fld.fildata1(str1)
RadioButtonList1.DataSource = ds
RadioButtonList1.DataTextField = "Junior_Senior"
RadioButtonList1.DataBind()
and html code is
<asp:radiobuttonlist id="RadioButtonList1" datatextfield="Junior_Senior" runat="server" repeatdirection="Horizontal" xmlns:asp="#unknown">
Width="125px" AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
krishna veer singh
|
|
|
|
|
Do one thing after binding the list
if (RadioButtonList1.Items > 0)
{
// 0 for first should default selected depends on you which one
// should be default seletced
RadioButtonList1.Items[0].Selected = true;
}
Make sure that should get called only once
While postbacks and user revisits this page it should not get called
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... "
Check My Blog
|
|
|
|
|
Wow someone actually showed there code.
To make one radiobutton checked all you need to do is:
if (RadioButtonList1.Items.Count > 0)
{
RadioButtonList1.Items[0].Selected = true;
}
That should sort out your problem.
Hope this helps.
|
|
|
|
|
thanks
my problem is solved
krishna veer singh
|
|
|
|
|
Hello friends,
I am working on a highly sensitive and secure Project. Please tell me how to secure web.config file in Project.
Thanks.
Amit
|
|
|
|
|
hi i am usign mater page which left panel is filled with category from database i use iframe so that value not goes out from panel. when i click on any catgory(which already a linkbutton) then open a new page. but page is open in this left panel while i want a new page we can say page will open on iframe parent form.
thanks
I will do my best?
|
|
|
|
|
HI,
I want to use Ajax AnimationExtender, But not using a Target control, but i want to use it by checking a condition in code side is it possible??, can anybody help..
Thanx in advance
|
|
|
|
|
If code you mean C# or VB.NET, then yuo need to make an AJAX call to run that code in the first place. Of course, you're already using an AJAX lbirary, so....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|