|
Kuricheti wrote: 80040154
Just a guess from memory. Does it expect you to have a regsvr32 before you are using it?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I want some code/scrpit that asks for confirmation, before overwriting any existing value.
I have tried with Confirm function of javascript,
But it is executing at the beginning or end of the code.Not the exact position where I wanted
EX:
Line1
Lline2
.
.
.
.
.My script shoud pop up here and ask for confirmation
Once got conformation remaining code should execute.
..
Line10
Line11
}.
|
|
|
|
|
Ignore HTML tags when you post question because we can not see anything...
I Love T-SQL
|
|
|
|
|
Actually I havent added any code, I am telling the scenerio.
I want to know whether the javascript can be populated after
executing some code in aspx.cs (and asks the user to confirm
yes or no ) and get some input from user
and resumes it executions by consedring those inputs ?
|
|
|
|
|
javascript code can be written into the backend code although I am not sure if you can do what you want
Just for reference
C# is server side code
Javascript is client side
A user could potentially turn off the javascript code through their browser.
You could use ajax confirm control instead
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ConfirmButton/ConfirmButton.aspx
|
|
|
|
|
Hi,
Can I use System.Windows.MessageBox for this
to get the input from user in asp.net web application.
(I am using ASP.Net 1.1 version)
Please let me know any wrong with this
|
|
|
|
|
how come you can use such control man.... nuts..
if you 'll use this control then it will be visible on the machine where the solution is hosted i.e. on server . so it will not be visible to client. then how a client 'd click on the button (yes/no) if the messagebox is not visible.
and also, the user can open the messagebox many times i.e. if the msgbox will be activated on a button click, lets say DELETE; user pressed DELETE . nothing happened (msgbox appeared on server not visible to client), user again pressed DELETE, and again and again.... a number of message box instances will get opened on server... who will close those instances MAN.....
you must use AJAX confirmation in this case....or the older way, use hidden panels(server side)
Ashish Sehajpal
|
|
|
|
|
ooops, sorry my aplogyse...
I Love T-SQL
|
|
|
|
|
Hi frnds plz help me out.......
I am talking about DropDown List control in asp.net. It contains an blue image on the right hand side(downside arrow) and i want override this image with my own custom image. I know how to develop custom checkboxes but dnt know how to do this. If u help me then it will be great for me....
|
|
|
|
|
check this out
http://weblogs.asp.net/fmarguerie/archive/2003/02/27/3103.aspx
|
|
|
|
|
Im trying to insert data into a database through my website which i coded in web matrix which is crap, and the code is written in vb.net for all my insert statments i get this error when i run the website and try to register
-----------------------------------------------------------------------------------------------------
Server was unable to process request. --> Operation must use an updateable query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Server was unable to process request. --> Operation must use an updateable query.
Source Error:
-----------------------------------------------------------------------------------------------------
my web service works perfectly the error only occurs when i try do the operation through the web site.
any help will be much appreciated
|
|
|
|
|
can you post the code which has the update query in
|
|
|
|
|
rifraf783 wrote: Operation must use an updateable query
The path to the db store may not be writeable by the ASPNET Worker Process. Check this out:
http://support.microsoft.com/kb/175168[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I am binding textbox to the grid. In that TextBox Text property of that textbox is bind using Text='<%# Bind("quantity") %>'.
Now Each time when I access the text box it will show same value even if I changed the value of textbox.
I want Changed value of that textbox.
How can I get it?
Thanks
|
|
|
|
|
When you say grid, do you mean gridview?
What do you mean by
sjs4u wrote: Now Each time when I access the text box it will show same value even if I changed the value of textbox.
Are you updating the database when you change the value?
|
|
|
|
|
Yes. GridView.
I also Updating the database with respect to change in to the textbox.
|
|
|
|
|
r u accessing the textbox value on some event i.e. command name specified by you or you are simply trying to read the value under page refresh?
i think there may be chance you are binding the grid again and again on page_load.. htis will cause the case you have stated.
Ashish Sehajpal
|
|
|
|
|
Hi,
I am trying to create a library of different web controls that can be easily added to any project. I need to create for example a customized composite control which contains both the file upload and a button. This must then be easily added to a project other than the one that it's contained in.
I tried using a web custom control and inheriting from base classes but was unsuccessful. How do I go about creating a project that will contain multiple controls that can be dropped into other projects?
Please help.
Thanks.
|
|
|
|
|
Member 2697696 wrote: How do I go about creating a project that will contain multiple controls that can be dropped into other projects?
Create a web custom control, inherit from an appropriate base (control) and succeed...
|
|
|
|
|
Thanks for replying to my post. I've tried creating a class and inheriting from the fileupload control (for example) but how do I create a control that contains both a file upload and a custom button?
I even tried adding the extra button through code (see below for example):
Protected Friend WithEvents MyButton As System.Web.UI.WebControls.Button
Public Sub New()
MyButton = New System.Web.UI.WebControls.Button
MyButton.Text = "test"
MyButton.Width = 100
Me.Controls.Add(MyButton)
End Sub
Can you suggest a solution? Do I need to add some code in the RenderContents sub?
Thanks.
|
|
|
|
|
Hi All,
I have a web service developed in .Net, I want to use it in my dot net application. I am trying to add it by using VS.Net add webreference. But after I do it, I am unable to access the WebSrvice namespace, class and webmethods. And mainly the .asmx file is not included in to my application.
Can anybody please suggest me what to do in this scenario.
But the web methods are accessible using web reference.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
First of all check the Domain rights...may be due to that reason you are not able to access the classes and methods. Also check the web refrence u have added is also added in your web.config file.
I think after doing this u will get access to webservice.
|
|
|
|
|
Hi,
Thanks for your reply, what I want is to add deploy my web service in to a domain name called ent.jnpr.net(it is actually a system name in network) in this domain I want to keep it in a directory called "WebService". So how should I put it in [WebService(Namespace="http://tempuri.org/")] tag.
And please give me some idea how to access it in my sample web application just give me few steps.
Thanks a lot.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
hello
i m updating the user's detail through gridview...everything is allrite..but i make my email-id field unique...so i want to validate the mail-textbox of gridview to check whether mail-id already exists or not..if yes den der should be an alert that mail-id already exists...plesae help me how can i do dat....
|
|
|
|
|
Just write a query to run when they update the id that checks if it already exists in the database and if it does show a label which displays error message
Why would they be able to update this field though?If its unique why dont you disable it
|
|
|
|