|
Hi
I hope someone can help me.
I wrote an application using membership and roles with which I was very pleased, I tested it on my local system but when I tried to use it on my hosting system ASPServeur I ran into serious problems.
To integrate membership and roles to your application database you need to run aspnet-regsql to create required objects in your data base, but my host wont let you execute this routine on my hosted database.
I then tried to generate a script for the membership and roles objects from my local system, again my host won't let this script run ( there seems to be authorisation issues in the stored procedures).
I can not believe that such an important function is blocked if you want host your application
Can anyone suggest a way to use the security options on a hosted system.
Help Please
|
|
|
|
|
Gday everyone
I have a new problem that I really need someone help
I need to make visibility of a table at runtime depending on user to click on a button to show it or not.
Please guide me how to do it
Thanks so much
eric
|
|
|
|
|
I would consider using a PlaceHolder control. If this wraps your table you should be able to set the placeholder control visible or not in the code behind page. You might need to nest it:
<body>
<table>
<tr>
<td>
<asp:PlaceHolder id="PlaceHolder1" runat="server">
<table>
...
</table>
</asp:PlaceHolder>
</td>
</tr>
</table>
</body>
Hope that helps.
Ben
|
|
|
|
|
That's a great idea.
Thanks. I'll try that.
eric
|
|
|
|
|
Hi,
You can use ASP Table control.
So that you can set visible attribute to true or false.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
Easy way could be making the table runat="server" . Then you can access this from codebehind
|
|
|
|
|
Thanks so much everyone
eric
|
|
|
|
|
Personally I like to use panels. I just place the tables and all other controls in it and then display the panel when I want to.
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
Just make the table runat="server" and then use uts visibility property and set it to true or fals according to your needs.
|
|
|
|
|
Hi All,
I need make a text editor like we have in Yahoo Mail when we are composing mail ie; I can make text(ie body of mail) bold, change the color or any other thing.
Finally when I click on save it should be save in Database in HTML format and while retriving it display in text format but not in HTML format.
I am using ASP.NET 2005(VB).
Please help me how should I go about the same.
Thanks in advance...
|
|
|
|
|
|
Hi
Our company has Mercury IT Governance tool, this is a software developed in Java/J2EE to give portfolio management. Mercury gives various web services to use the tool. One of such web service WSDL content I am attaching for your reference. I am able to add web reference to this WSDL file, but The problem is I am unable to call the web methods, in fact I am getting the error while compiling the site.
Error 10 Unable to import binding 'RequestSoapBinding' from namespace 'http://mercury.com/itg/dm/1.0'. App_WebReferences/WebReference/
Can anyone kindly tell me what does this error mean?
I am using ASP.NET 2.0, please help...Thanks in advance.
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:types="http://mercury.com/itg/dm/1.0/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://mercury.com/itg/dm/1.0" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://mercury.com/itg/dm/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mercury.com/itg/dm/1.0/types">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:complexType name="Value" abstract="true">
<xsd:sequence />
</xsd:complexType>
<xsd:complexType name="RequestHeader">
<xsd:sequence>
<xsd:element name="auditNote" type="xsd:string" />
<xsd:element name="origin" type="xsd:string" />
<xsd:element name="transactionName" type="xsd:string" />
<xsd:element name="credentials" type="types:Credentials" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Credentials" abstract="true">
<xsd:sequence />
</xsd:complexType>
<xsd:complexType name="LoginAccount">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Credentials">
<xsd:sequence>
<xsd:element name="username" type="xsd:string" />
<xsd:element name="password" type="xsd:string" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ProcessingError">
<xsd:sequence>
<xsd:element name="errors" type="types:ArrayOf_types_ErrorMessage" />
<xsd:element name="message" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Field">
<xsd:sequence>
<xsd:element name="token" type="xsd:string" />
<xsd:element name="value" type="types:Value" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Reference" abstract="true">
<xsd:sequence>
<xsd:element name="creationDate" nillable="true" type="xsd:dateTime" />
<xsd:element name="name" nillable="true" type="xsd:string" />
<xsd:element name="description" nillable="true" type="xsd:string" />
<xsd:element name="addedBy" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Note" abstract="true">
<xsd:sequence>
<xsd:element name="creationDate" nillable="true" type="xsd:dateTime" />
<xsd:element name="content" type="xsd:string" />
<xsd:element name="addedBy" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Request">
<xsd:sequence>
<xsd:element name="fields" type="types:ArrayOf_types_Field" />
<xsd:element name="references" nillable="true" type="types:ArrayOf_types_Reference" />
<xsd:element name="notes" nillable="true" type="types:ArrayOf_types_Note" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ErrorMessage">
<xsd:sequence>
<xsd:element name="code" nillable="true" type="xsd:int" />
<xsd:element name="message" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Response">
<xsd:sequence>
<xsd:element name="references" nillable="true" type="types:ArrayOf_types_Reference" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Identifier">
<xsd:sequence>
<xsd:element name="serverURL" type="xsd:anyURI" />
<xsd:element name="id" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FieldMetaData">
<xsd:sequence>
<xsd:element name="prompt" type="xsd:string" />
<xsd:element name="token" type="xsd:string" />
<xsd:element name="required" type="xsd:boolean" />
<xsd:element name="description" type="xsd:string" />
<xsd:element name="fieldType" type="xsd:string" />
<xsd:element name="listName" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SingleValue">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Value">
<xsd:sequence>
<xsd:element name="tokenValue" nillable="true" type="xsd:string" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="MultipleValues">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Value">
<xsd:sequence>
<xsd:element name="values" nillable="true" type="types:ArrayOf_xsd_string" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DateValue">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Value">
<xsd:sequence>
<xsd:element name="date" nillable="true" type="xsd:dateTime" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Table">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Value">
<xsd:sequence>
<xsd:element name="tokens" type="types:ArrayOf_xsd_string" />
<xsd:element name="rows" type="types:ArrayOf_types_TableRow" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="URLReference">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Reference">
<xsd:sequence>
<xsd:element name="URL" type="xsd:anyURI" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="RemoteReference">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Reference">
<xsd:sequence>
<xsd:element name="status" type="xsd:string" />
<xsd:element name="displayURL" nillable="true" type="xsd:anyURI" />
<xsd:element name="identifier" type="types:Identifier" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="UserNote">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Note">
<xsd:sequence />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FieldChangeNote">
<xsd:complexContent mixed="false">
<xsd:extension base="types:Note">
<xsd:sequence>
<xsd:element name="fieldPrompt" type="xsd:string" />
<xsd:element name="oldValue" type="xsd:string" />
<xsd:element name="newValue" type="xsd:string" />
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_types_Field">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:Field[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="TableRow">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:Value[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_types_TableRow">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:TableRow[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_xsd_string">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="xsd:string[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_types_Reference">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:Reference[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_types_Note">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:Note[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_types_FieldMetaData">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:FieldMetaData[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ArrayOf_types_ErrorMessage">
<xsd:complexContent mixed="false">
<xsd:restriction base="soapenc:Array">
<xsd:attribute wsdl:arrayType="types:ErrorMessage[]" ref="soapenc:arrayType" />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="mapItem">
<xsd:sequence>
<xsd:element name="key" nillable="true" type="xsd:anyType" />
<xsd:element name="value" nillable="true" type="xsd:anyType" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Map">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="item" type="types:mapItem" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="importRequestRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="request" type="types:Request" />
</wsdl:message>
<wsdl:message name="importRequestResponse">
<wsdl:part name="importRequestReturn" type="types:Response" />
</wsdl:message>
<wsdl:message name="updateRemoteReferenceResponse">
<wsdl:part name="updateRemoteReferenceReturn" type="xsd:int" />
</wsdl:message>
<wsdl:message name="ProcessingErrorFault">
<wsdl:part name="fault" type="types:ProcessingError" />
</wsdl:message>
<wsdl:message name="updateRemoteReferenceRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="receiver" type="types:Identifier" />
<wsdl:part name="source" type="types:Identifier" />
<wsdl:part name="newStatus" type="xsd:string" />
<wsdl:part name="fields" type="types:ArrayOf_types_Field" />
</wsdl:message>
<wsdl:message name="getRequestTypesByFieldGroupRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="fieldGroup" type="xsd:string" />
</wsdl:message>
<wsdl:message name="getRequestTypesByFieldGroupResponse">
<wsdl:part name="getRequestTypesByFieldGroupReturn" type="types:ArrayOf_xsd_string" />
</wsdl:message>
<wsdl:message name="getRequestTypeFieldsRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="requestType" type="xsd:string" />
</wsdl:message>
<wsdl:message name="getRequestTypeFieldsResponse">
<wsdl:part name="getRequestTypeFieldsReturn" type="types:ArrayOf_types_FieldMetaData" />
</wsdl:message>
<wsdl:message name="deleteRequestsRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="requestIDs" type="types:ArrayOf_xsd_string" />
</wsdl:message>
<wsdl:message name="deleteRequestsResponse">
<wsdl:part name="deleteRequestsReturn" type="xsd:int" />
</wsdl:message>
<wsdl:message name="getDropDownListValuesRequest">
<wsdl:part name="header" type="types:RequestHeader" />
<wsdl:part name="listNames" type="types:ArrayOf_xsd_string" />
</wsdl:message>
<wsdl:message name="getDropDownListValuesResponse">
<wsdl:part name="getDropDownListValuesReturn" type="apachesoap:Map" />
</wsdl:message>
<wsdl:portType name="RequestServices">
<wsdl:operation name="importRequest" parameterOrder="header request">
<wsdl:input name="importRequestRequest" message="intf:importRequestRequest" />
<wsdl:output name="importRequestResponse" message="intf:importRequestResponse" />
<wsdl:fault name="ProcessingErrorFault" message="intf:ProcessingErrorFault" />
</wsdl:operation>
<wsdl:operation name="updateRemoteReference" parameterOrder="header receiver source newStatus fields">
<wsdl:input name="updateRemoteReferenceRequest" message="intf:updateRemoteReferenceRequest" />
<wsdl:output name="updateRemoteReferenceResponse" message="intf:updateRemoteReferenceResponse" />
<wsdl:fault name="ProcessingErrorFault" message="intf:ProcessingErrorFault" />
</wsdl:operation>
<wsdl:operation name="getRequestTypesByFieldGroup" parameterOrder="header fieldGroup">
<wsdl:input name="getRequestTypesByFieldGroupRequest" message="intf:getRequestTypesByFieldGroupRequest" />
<wsdl:output name="getRequestTypesByFieldGroupResponse" message="intf:getRequestTypesByFieldGroupResponse" />
<wsdl:fault name="ProcessingErrorFault" message="intf:ProcessingErrorFault" />
</wsdl:operation>
<wsdl:operation name="getRequestTypeFields" parameterOrder="header requestType">
<wsdl:input name="getRequestTypeFieldsRequest" message="intf:getRequestTypeFieldsRequest" />
<wsdl:output name="getRequestTypeFieldsResponse" message="intf:getRequestTypeFieldsResponse" />
<wsdl:fault name="ProcessingErrorFault" message="intf:ProcessingErrorFault" />
</wsdl:operation>
<wsdl:operation name="deleteRequests" parameterOrder="header requestIDs">
<wsdl:input name="deleteRequestsRequest" message="intf:deleteRequestsRequest" />
<wsdl:output name="deleteRequestsResponse" message="intf:deleteRequestsResponse" />
<wsdl:fault name="ProcessingErrorFault" message="intf:ProcessingErrorFault" />
</wsdl:operation>
<wsdl:operation name="getDropDownListValues" parameterOrder="header listNames">
<wsdl:input name="getDropDownListValuesRequest" message="intf:getDropDownListValuesRequest" />
<wsdl:output name="getDropDownListValuesResponse" message="intf:getDropDownListValuesResponse" />
<wsdl:fault name="ProcessingErrorFault" message="intf:ProcessingErrorFault" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="RequestSoapBinding" type="intf:RequestServices">
<wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
<wsdl:operation name="importRequest">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="importRequestRequest">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output name="importRequestResponse">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
<wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault use="encoded" name="ProcessingErrorFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="updateRemoteReference">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="updateRemoteReferenceRequest">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output name="updateRemoteReferenceResponse">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
<wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault use="encoded" name="ProcessingErrorFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getRequestTypesByFieldGroup">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getRequestTypesByFieldGroupRequest">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output name="getRequestTypesByFieldGroupResponse">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
<wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault use="encoded" name="ProcessingErrorFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getRequestTypeFields">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getRequestTypeFieldsRequest">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output name="getRequestTypeFieldsResponse">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
<wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault use="encoded" name="ProcessingErrorFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteRequests">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="deleteRequestsRequest">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output name="deleteRequestsResponse">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
<wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault use="encoded" name="ProcessingErrorFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDropDownListValues">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="getDropDownListValuesRequest">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output name="getDropDownListValuesResponse">
<wsdlsoap:body use="encoded" namespace="http://mercury.com/itg/dm/1.0" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
<wsdl:fault name="ProcessingErrorFault">
<wsdlsoap:fault use="encoded" name="ProcessingErrorFault" namespace="" />
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="RequestServicesService">
<wsdl:port name="Request" binding="intf:RequestSoapBinding">
<wsdlsoap:address location="http://localhost:8080/itg/services/Request" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
|
|
|
|
|
|
Thank you so much, the information you gave helped me lot, thanks once again, request you to continue your help for us
|
|
|
|
|
I have master page/contant page. And in javascript i am accessing my content page controls like
document.getElementById('ctl00_ContentPlaceHolder1_TxtFName').focus();
I know this approach is wrong, because it is one way of hard coding for ContentPlaceHolder1 name.
How i can avoid this? If possible, please share some sample code....Thanks!!
Amit
|
|
|
|
|
Hi,
You can pass the ClientId from code behind to javascript function
and you can use the ClientId inside getElementById.
Can you explain what you are trying.so we can give more specific example.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
i am trying to validate one of my content page text box thru java script.
Thx...
|
|
|
|
|
Hi,
it's possible.
for ex: When you are pressing a button you want to validate a text box.
In Page load add following code
MyButton.Attributes.Add("onclick", "javascript:MyJSFun('" & MyTextBox.ClientID & "')")
Then your JS function.
<br />
function MyJSFun(txt)<br />
{ <br />
alert(document.getElementById(txt).value)<br />
}<br />
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
hello friends .. I want to create simple login form with email and password.If user enters blank email or/and password...it must give errors but the page should not get refreshed. can any one give me simple javascript to do this..
Amit
|
|
|
|
|
why don't you use the required field validator control for that.
by using that, your page will not be postbacked and authencation will be done at client side
|
|
|
|
|
how to use requiredfield validator?
Amit
|
|
|
|
|
Hi
Add a requiredFieldValidator from validation controls.
Set ControlToValidate,errormessege Properties of the validator control.
Control to validate will be your textbox name.
Thats all....
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
drag a requiredfieldvalidator control next to your username textbox control
set the controltovalidate property of your requiredfieldvalidator control
set the error message property u want to display for example "User Name Required"
set the text property of your required field property to "*"
repeat this for password field
both username and password textboxes must contain a attribute <runat='server'> in their html view
now if u want to display the error messages at one place u can also just drag drop the validationsummary control
there u go...
if still u face a problem try google or ask again
-- modified at 8:37 Wednesday 23rd May, 2007
|
|
|
|
|
In java script add return false like
function bResetControls()
{
return false;
}
Thanks
Amit
|
|
|
|
|
In my application my requirement is pdf security if u type the physical path of a pdf file in an browser it should redirect to the login page that is the need in my application
At this time i am getting the following errror" request for the permission of aspnethostingpermission in asp.net system version=1.0.5000.0 cultural=neutal publickeytoke=b77ac5......"
like this it is displaying can any body give the idea regarding this error so that i can complete my task
thanks and regards,
Eswar.
|
|
|
|