Click here to Skip to main content
14,930,722 members
Home / Discussions / ASP.NET


AnswerRe: On Mouse over enlarge an image binded to a Grid view Pin
Abhishek Sur15-Oct-08 21:26
professionalAbhishek Sur15-Oct-08 21:26 
QuestionUsing Div and Span tags instead of a table layout Pin
Tina P15-Oct-08 14:35
MemberTina P15-Oct-08 14:35 
AnswerRe: Using Div and Span tags instead of a table layout Pin
Caio Kinzel Filho15-Oct-08 19:38
MemberCaio Kinzel Filho15-Oct-08 19:38 
QuestionFileDownload Control Pin
#realJSOP15-Oct-08 12:39
mva#realJSOP15-Oct-08 12:39 
AnswerRe: FileDownload Control Pin
Steve Echols15-Oct-08 17:26
MemberSteve Echols15-Oct-08 17:26 Pin
rock_mre15-Oct-08 12:16
Memberrock_mre15-Oct-08 12:16 
AnswerRe: Pin
Caio Kinzel Filho15-Oct-08 12:43
MemberCaio Kinzel Filho15-Oct-08 12:43 
QuestioncssFriendly problems Pin
TheEagle15-Oct-08 11:18
MemberTheEagle15-Oct-08 11:18 

I have used cssfriendly to create a vertical menu with attractive look.Too late I discovered that it doesn't work correctly in IE6 because it jumps from the right side to the left when the mouse hover on it.Also it is shifted to the left while I made it to align to the right as it appears correctly in IE7.

Another problem I discovered is that my login control and its validation are not working correctly its code is as following:

<div style="width:50%;">
<asp:LoginView ID="logv1" runat="server">
<asp:Login ID="login1" runat="server" FailureAction="RedirectToLoginPage" DestinationPageUrl="Default.aspx" >
<asp:Label ID="lblUserName" runat="server" Text="اسم المستخدم" AssociatedControlID="UserName" Width="50%" />
<asp:TextBox ID="UserName" runat="server" Width="50%" />
<asp:RequiredFieldValidator ID="vldUserName" runat="server" ValidationGroup="LoginGroup" ControlToValidate="UserName" Text="*" ErrorMessage="مطلوب اسم المستخدم"></asp:RequiredFieldValidator>
<br />
<asp:Label ID="lblPassword" runat="server" Text="كـلـمـة السـر" AssociatedControlID="Password" Width="50%" />
<asp:TextBox ID="Password" runat="server" TextMode="Password" Width="50%" />
<asp:RequiredFieldValidator ID="vldPassword" runat="server" ControlToValidate="Password" ValidationGroup="LoginGroup" Text="*" ErrorMessage="مطلوب ادخال كلمة السر"></asp:RequiredFieldValidator>
<br />
<asp:ImageButton ID="Submit" runat="server" CommandName="Login" ImageUrl="~/images/login.gif"/>
<br />
<asp:ValidationSummary ID="vldsum" runat="server" ShowMessageBox="true" ShowSummary="false" />
<br />
<asp:CheckBox ID="RememberMe" runat="server" Text="حفظ اسم الدخول"
Visible="true" />
<br />

Which I put in login page so when access is denied it should go to this page.

The validation controls for the CreateUserWizard are not working at all what ever I do which is as following:

<div id="NewUser">
<asp:CreateUserWizard ID="createUser1" runat="server" AutoGeneratePassword="False" ContinueDestinationPageUrl="~/Default.aspx" FinishDestinationPageUrl="~/Default.aspx"
OnCreatedUser="CreateUserWizard1_CreatedUser" CreateUserButtonImageUrl="../images/btninsert.gif" CreateUserButtonType="Image"
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" >
<div >إضافة مستخدم جديد</div>
<br />
<br />
<table cellpadding="2">
<td class="TextField" style="width: 110px;" ><asp:Label runat="server" ID="lblUserName" Text="اسم المستخدم" AssociatedControlID="UserName" /></td>
<td class="TextField" style="width: 300px;"><asp:TextBox ID="UserName" runat="server" Width="100%"></asp:TextBox></td>
<td><asp:RequiredFieldValidator ID="valRequireUserName" runat="server" ControlToValidate="UserName" ValidationGroup="CreateUserWizard1" SetFocusOnError="true" ErrorMessage="مطلوب اسم المستخدم">*</asp:RequiredFieldValidator></td>
<td class="TextField"><asp:Label runat="server" ID="lblPassword" AssociatedControlID="Password" Text="كلمة المرور" /></td>
<td class="TextField"><asp:TextBox runat="server" ID="Password" TextMode="Password" Width="100%" /></td>
<asp:RequiredFieldValidator ID="valRequirePassword" runat="server" ControlToValidate="Password" SetFocusOnError="true" Display="Dynamic"
ErrorMessage="مطلوب كلمة السر" ToolTip="مطلوب كلمة السر" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="valPasswordLength" runat="server" ControlToValidate="Password" SetFocusOnError="true" Display="Dynamic"
ValidationExpression="\W{5}" ErrorMessage="كلمة السر يجب أن لاتقل عن خمسة أحرف" ToolTip="كلمة السر يجب أن لاتقل عن خمسة أحرف"
<td class="TextField"><asp:Label runat="server" ID="lblConfirmPassword" AssociatedControlID="ConfirmPassword" Text="تأكيد كلمة المرور" /></td>
<td class="TextField"><asp:TextBox runat="server" ID="ConfirmPassword" TextMode="Password" Width="100%" /></td>
<td> <asp:RequiredFieldValidator ID="valRequireConfirmPassword" runat="server" ControlToValidate="ConfirmPassword" SetFocusOnError="true" Display="Dynamic"
ErrorMessage="يلزم تأكيد كلمة المرور" ToolTip="يلزم تأكيد كلمة المرور"
<asp:CompareValidator ID="valComparePasswords" runat="server" ControlToCompare="Password" SetFocusOnError="true"
ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="يلزم تطابق كلمة المرور وتأكيد كلمة المرور"

<td class="TextField"><asp:Label runat="server" ID="lblEmail" AssociatedControlID="Email" Text="البريد الإلكتروني" /></td>
<td class="TextField"><asp:TextBox runat="server" ID="Email" Width="100%" /></td>
<asp:RequiredFieldValidator ID="valRequireEmail" runat="server" ControlToValidate="Email" SetFocusOnError="true" Display="Dynamic"
ErrorMessage="مطلوب البريد الإلكتروني" ToolTip="يلزم إدخال البريد الإلكتروني" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator runat="server" ID="valEmailPattern" Display="Dynamic" SetFocusOnError="true" ValidationGroup="CreateUserWizard1"
ControlToValidate="Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="البريد الإلكتروني الذي أدخلته ليس بصيغة صحيحه">*</asp:RegularExpressionValidator>
<asp:ValidationSummary ValidationGroup="CreateUserWizard1" ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false" />

<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
<table border="0">

تم إنشاء سجل باسم مستخدم جديد</td>

So may be CssFriendly caused this problem too.Could any one help?

I am too late but i will never give up

QuestionHow can i declare a webcontrol in a webservice? Pin
Cannery15-Oct-08 9:00
MemberCannery15-Oct-08 9:00 
AnswerRe: How can i declare a webcontrol in a webservice? Pin
Steve Echols15-Oct-08 17:40
MemberSteve Echols15-Oct-08 17:40 
QuestionProblem with GridView Pin
Enayat Ashkian15-Oct-08 8:12
MemberEnayat Ashkian15-Oct-08 8:12 
QuestionCustom Contols Within Other Custom Controls Pin
Mateobus15-Oct-08 7:08
MemberMateobus15-Oct-08 7:08 
QuestionProblem With Update Panel Pin
pinna_hari15-Oct-08 6:56
Memberpinna_hari15-Oct-08 6:56 
AnswerRe: Problem With Update Panel Pin
AlexeiXX315-Oct-08 7:39
MemberAlexeiXX315-Oct-08 7:39 
QuestionDeploying a 2.0 web application Pin
MemberSUDHAKAR PALLAM15-Oct-08 5:45 
AnswerRe: Deploying a 2.0 web application Pin
AlexeiXX315-Oct-08 7:42
MemberAlexeiXX315-Oct-08 7:42 
GeneralRe: Deploying a 2.0 web application Pin
SUDHAKAR PALLAM15-Oct-08 20:31
MemberSUDHAKAR PALLAM15-Oct-08 20:31 
QuestionApplying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 5:44
MemberSteve Holdorf15-Oct-08 5:44 
AnswerRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 7:48
MemberAlexeiXX315-Oct-08 7:48 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 8:14
MemberSteve Holdorf15-Oct-08 8:14 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 8:17
MemberAlexeiXX315-Oct-08 8:17 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 8:29
MemberAlexeiXX315-Oct-08 8:29 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 17:38
MemberSteve Holdorf15-Oct-08 17:38 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 18:07
MemberAlexeiXX315-Oct-08 18:07 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf16-Oct-08 3:47
MemberSteve Holdorf16-Oct-08 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.