I'm trying to performa an ajax validation for e-mail address. I need to know if user is already registered so I need to check it in my database. There is similar example: http://www.highoncoding.com/Articles/439_Performing_Instant_UserName_Availability_Check_Using_JQuery_Ajax_API.aspx
My current code is:
function validateEMail(email) ...
C# or VB.NET are welcome.
I have an <%#Eval("FirstName")%> in the aspx page, I want to replace "FirstName" to <%#Eval(employee.FirstName)%> but "employee" object
is instantiated in the codebehind like this:
Public employee As New Employee
How can I call this object in the
aspx page?
Should I can create an "employee" ...
how do I fetch a user ID that is associated with the email address entered by the user in the text box?
...
I'm looking for some ideas on how other people are managing the following situation - I've got some ideas but they seem a little messy and I can't help thinking I'm missing something.
Here's the situation:
You're using NHibernate with Fluent NHibernate for mappings.
You have an application in production with a database with live data
...
Hi,
How can i access code behind methods from the radiobuttonlist insode the gridview below? Using code blocks is of some reason not allowed here..
<asp:GridView ID="gvChildren" runat="server" DataKeyField="ID"><Columns><asp:TemplateField><ItemTemplate><asp:RadioButtonList runat="server" ID="rblAccess"><asp:ListItem Value="0" Text="<...
I am trying to format a number in a GridView that is in in pounds into pence.
e.g. 0.0106 to 1.06
Is it possible to archive this with the DataFormatString on the GridView? Or would it make more sense to do the conversion within the stored procedure?
...
why id of control changed automatically when we use it in masterpage , while in simple page it does not change??
this is source code after run the MasterPage
as :: <input name="ctl00$cp1$txtUName" type="text" id="ctl00_cp1_txtUName" style="width:128px;" />
this is source code after run Simple Page
AS:<input name="txtUName" type="te...
Hy,
I have an application that sends mails with Gmail SMTP server (smtp.gmail.com) using SSL.
Now I want to read the emails from that account, does anyone have any idea how can I make this programatically in C# and ASP.NET?
At this point I'm using this code:
TcpClient tcpClient = new TcpClient();
tcpClient.Connect("pop.gmail.com", 58...
Hello all,
Here is the problem :
I have a brand new web application in VS 2010, Framework 3.5
I have a very simple web.config with the connectionStrings node :
<connectionStrings>
The Web.Release.Config is like this :
<?xml version="1.0" encoding="utf-8"?>
Then i create a deployment package using V...
Hi,
In my web application i am using master page concept, In master page i have login panel using this user can login, after login login panel will not visible and a link button will visible as logout, it is working fine but in one of child pages (content page) i have login panel for login which is in update panel, when user login succ...
Hi all i am having two check box controls in my gridview what i need is if i checked a check box the other should be get enabled and if i uncheck it should get disable is there any way to do it.
I write this but i am not getting the required one
<script type="text/javascript">
function checkboxClick(checked, boxId) {
var childCheck...
How to use javascript in .ascx pages
...
I am developing N2cms Multilangual site and the problem is footer is same in both side which i didnt need i need seperate footer according to their language..So can anybody help me to solve this problem.
...
I have listview with two checkboxes in itemtemplate.
I want to validate that user can only select only one checkbox in each row.
...
Can anyone sort out the following code to make the adding an attachment to an email work please.
Thanks
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="ISO-8859-1" Debug="true" %>
<% @Import Namespace="System.Web.Mail" %>
<% @Import Namespace="IO" %>
<script language="vb" runat="server">
Sub btnSendEmail_Click(sender...
I have email field in my page, which i am validating using regular expression validator provided my asp.net. I am using same validation expression as given along with validator for emails i.e
ValidationExpression="\w+([-+.']\w+)@\w+([-.]\w+).\w+([-.]\w+)*"
It is working fine but problem comes when I tried giving non-english letters e.g...
I moved my site to asp.net 4.0, and added ajax control toolkit 4.1.40412.0. Also on the page i added ToolkitScriptManager with attribute EnableCdn="true". But my site continues loading toolkit scripts from resources, not from CDN network. How to fix it?
...
I'm creating a new ASP.net website via Visual Studio. I then try to run the default.aspx page it generates, and it throws this error:
I've tried deleting the affected lines as suggested by MSDN but to no avail! I am on Windows 7, with ASP.net installed
If I delete all the lines I get:
Any ideas?
...
I'm relatively new to using Windows Workflow but we have a requirement whereby all currently active workflows undertake an action based upon a "global event" rather than an event based upon a single instance.
e.g. you could have a workflow which is used for the submission and tracking of tickets, with the scenario that when the support ...
Hi,
I have an edit application view, and it can be found at the following URL:
http://localhost:17262/Application/EditApplication/1
1 equals the application ID.
Also on the page I have a link that goes to another view to add an assistant for the application. I want to pass it the application ID so that the new assistant can be "link...