|
YOu can try this instead:
To leave WSDL file generation on for Web services within a Web application, but not provide any human readable information regarding the Web services, you can add an <wsdlHelpGenerator> element to the Web.config file for the Web application and set the href attribute to a blank HTML page you have created. The following code example is an excerpt of a Web.config file that sets the service help page to a MyBlank.htm file in the docs folder beneath the folder containing the Web.config file.
<webServices>
<wsdlHelpGenerator href="docs/MyBlank.htm"/>
</webServices>
Ben
|
|
|
|
|
Make it a class?
Brad
Australian
- Me on "Public interest"
If you actually read this let me know.
|
|
|
|
|
|
I think he is saying that you could embed functionality of webservice into application itself, since it is service's only consumer anyway.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
No, the web server is talking to database.
|
|
|
|
|
Hi. I'm a complete noob in this area.
I'm working on a website that I want to view on a Pocket PC. I don't own a Pocket PC, so I thought I would use the emulator in Visual Studio 2005. When I run the emulator and bring up IE, I'm told that I do not have a connection. I'm on a local network at work that has internet access. How do I setup the emulator to give it access to browse the web?
Thanks!
Ian
|
|
|
|
|
Hi Guys,
Do you have any idea if where can I download a richtext server control for asp.net? Because, in AJAX when using a simple textbox it produce an error if that value contains <em>, <h>, <p>, etc.
Or do you have some ideas on how to save the formatted paragraph from a simple textbox into the msssql2000 database?
Thanks in advance Guys
hifiger2004
|
|
|
|
|
It depends if you want to pay for this or not. Here is an article that shows how to create your own (assuming you have the time)
http://aspalliance.com/1092_Rich_Text_Editor_Part_I
|
|
|
|
|
Hi toticow,
I will try this one. But where am I going to stored the hamHtmlEditor.ascx? Under what directory of ASP.Net framework? Does it appear on my Visual Web Developer Toolbox?
hifiger2004
|
|
|
|
|
Hi, well this is a user control, so you would add it to your existing solution - perhaps a subfolder in your application called UserControls.
As you are asking a question like this, I must assume you are fairly new to asp.net - perhaps reading this will help you:
|
|
|
|
|
Hi toticow,
I already solved my problem regarding the html tag. At the very top of my aspx I added the validaterequest="false" inside the directives, and it is working fine now.
Thanks for the support
hifiger2004
|
|
|
|
|
Hello
I see your original question changed. Rather than turning off the validation at the top of the page as you do, you could also use the Server.HtmlEncode method
For more information, read this: http://www.asp.net/faq/RequestValidation.aspx[^]
|
|
|
|
|
Although not necessarily the best, FCKEditor is quite mature and comes with ASP.NET helper controls....oh and its free.
linkety
|
|
|
|
|
Hi badgrs,
I already solved my problem regarding the html tag. At the very top of my aspx I added the validaterequest="false" inside the directives, and it is working fine now.
Thanks for the support
hifiger2004
|
|
|
|
|
I've run into the same issue wuth AJAX, specifically when using JSON - as a workaround, I did a Server.URLEncode at the server end, and then a javascript unescape() followed by a global replace of "+" chars....seems to work quite nicely...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi RichardGrimmer,
I already solved my problem regarding the html tag. At the very top of my aspx I added the validaterequest="false" inside the directives, and it is working fine now.
Thanks for the support
hifiger2004
|
|
|
|
|
Please help?
I have an issue. I need to configure a datagrid so that when I click on a link in the datagrid, it automatically populates the form.
Say that I need to update something, I made an update control and then display the data in a datagrid using SQL 2005 Express. Now when I click on a link in the datagrid it must put all the details from that record into the updatecontrol form.
How do I go about doing this?
Thanks!!
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
add an commandName attibute to the linkButton and capture the event then access the grid (Note that all grid columns should be template column)
<%@ Page Language="C#" AutoEventWireup="True" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script language="C#" runat="server">
void LinkButton_Command(Object sender, CommandEventArgs e)
{
if(e.CommandName=="Fillform")
{
int index = Convert.ToInt32(e.CommandArgument);
txtname.Text = ((Label)datagrid.items[index].rows[index].cells[0]).Text;
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:LinkButton id="LinkButton1"
Text="Fill"
CommandName="Fillform"
CommandArgument="0"
OnCommand="LinkButton_Command"
runat="server"/>
<asp:TestBox id="txtname" runat="server"/>
</form>
</body>
</html>
WaelA
Software Engineer
WaelA@hotmail.com
|
|
|
|
|
I am using JavaScript with ASP, when user sign in successful i want to javascript alert message "Sign in successful" only one time whenever user refresh page or something else I don't want to show message, please help me
Regard
Socheat
................
|
|
|
|
|
Use a session cookie, possibly?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
Would you mind if give me a code?
Thanks
................
|
|
|
|
|
|
Perhaps don't use an alert message? alert messages force the user to give attention to it before moving forward in an application, and thus disrupting the users flow of the application. Anything that does that should only be used as a last resort (and if it has to be used you might want to rethink why)
|
|
|
|
|
After alert message, I want to destroy a message
................
|
|
|
|
|
I'm new to this website development. Anyone can provide me a code for video streaming for WMV file? I'm now doing my personal website using HTML code with Dreamweaver 8 software.
Thank you for your kind help.
Drexler
|
|
|
|