Click here to Skip to main content
15,885,767 members
Home / Discussions / ASP.NET
   

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
Tina P15-Oct-08 14:35 
AnswerRe: Using Div and Span tags instead of a table layout Pin
Caio Kinzel Filho15-Oct-08 19:38
Caio Kinzel Filho15-Oct-08 19:38 
QuestionFileDownload Control Pin
#realJSOP15-Oct-08 12:39
mve#realJSOP15-Oct-08 12:39 
AnswerRe: FileDownload Control Pin
Steve Echols15-Oct-08 17:26
Steve Echols15-Oct-08 17:26 
QuestionAsp.net Pin
rock_mre15-Oct-08 12:16
rock_mre15-Oct-08 12:16 
AnswerRe: Asp.net Pin
Caio Kinzel Filho15-Oct-08 12:43
Caio Kinzel Filho15-Oct-08 12:43 
QuestioncssFriendly problems Pin
TheEagle15-Oct-08 11:18
TheEagle15-Oct-08 11:18 
Hi,

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">
<AnonymousTemplate>
<asp:Login ID="login1" runat="server" FailureAction="RedirectToLoginPage" DestinationPageUrl="Default.aspx" >
<LayoutTemplate>
<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 />
</LayoutTemplate>
</asp:Login>
</AnonymousTemplate>

</asp:LoginView>
</div>
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"
>
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" >
<ContentTemplate>
<div >إضافة مستخدم جديد</div>
<br />
<br />
<table cellpadding="2">
<tr>
<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>
</tr>
<tr>
<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>
<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="كلمة السر يجب أن لاتقل عن خمسة أحرف"
ValidationGroup="CreateUserWizard1">*</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<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="يلزم تأكيد كلمة المرور"
ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
<asp:CompareValidator ID="valComparePasswords" runat="server" ControlToCompare="Password" SetFocusOnError="true"
ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="يلزم تطابق كلمة المرور وتأكيد كلمة المرور"
ValidationGroup="CreateUserWizard1">*</asp:CompareValidator>
</td>

</tr>
<tr>
<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>
<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>
</td>
</tr>
<tr>
<td>
<asp:ValidationSummary ValidationGroup="CreateUserWizard1" ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false" />
</td>
</tr>

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

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

</table>
</ContentTemplate>
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
</div>
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
Cannery15-Oct-08 9:00 
AnswerRe: How can i declare a webcontrol in a webservice? Pin
Steve Echols15-Oct-08 17:40
Steve Echols15-Oct-08 17:40 
QuestionProblem with GridView Pin
Enayat Ashkian15-Oct-08 8:12
Enayat Ashkian15-Oct-08 8:12 
QuestionCustom Contols Within Other Custom Controls Pin
Mateobus15-Oct-08 7:08
Mateobus15-Oct-08 7:08 
QuestionProblem With Update Panel Pin
pinna_hari15-Oct-08 6:56
pinna_hari15-Oct-08 6:56 
AnswerRe: Problem With Update Panel Pin
AlexeiXX315-Oct-08 7:39
AlexeiXX315-Oct-08 7:39 
QuestionDeploying a asp.net 2.0 web application Pin
SUDHAKAR PALLAM15-Oct-08 5:45
SUDHAKAR PALLAM15-Oct-08 5:45 
AnswerRe: Deploying a asp.net 2.0 web application Pin
AlexeiXX315-Oct-08 7:42
AlexeiXX315-Oct-08 7:42 
GeneralRe: Deploying a asp.net 2.0 web application Pin
SUDHAKAR PALLAM15-Oct-08 20:31
SUDHAKAR PALLAM15-Oct-08 20:31 
QuestionApplying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 5:44
Steve Holdorf15-Oct-08 5:44 
AnswerRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 7:48
AlexeiXX315-Oct-08 7:48 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 8:14
Steve Holdorf15-Oct-08 8:14 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 8:17
AlexeiXX315-Oct-08 8:17 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 8:29
AlexeiXX315-Oct-08 8:29 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf15-Oct-08 17:38
Steve Holdorf15-Oct-08 17:38 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
AlexeiXX315-Oct-08 18:07
AlexeiXX315-Oct-08 18:07 
GeneralRe: Applying a custom theme (skin) to a GridView Pin
Steve Holdorf16-Oct-08 3:47
Steve 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.