الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

ايرور

بدأه الحكيمة في 8 مارس 2011 · 9 رد · 538 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

عندي مشروع ويب ابليكيشن

عامله كل الصفحات من ماستر بيج

لما جيت اعمل صفحة ويب فورم من دون ماستر بيج يطلع لي هذ الايرور

اش المشكله

؟؟؟؟؟؟

post-230753-033772900 1299540287_thumb.j

المرفقات
errorForm.jpg
#2

المشكلة تحصل بوراثة الصفحة ............

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test1.aspx.cs" Inherits="هنا جربي استخدام نفس اسم الصفحة التي قمتي بانشاءها بدون اللاحقة" %>

تم تعديل هذه المشاركة بواسطة Tammam_KD في 8 مارس 2011 في 10:01

قل لمن يحمل هما ****** إن همــــا لا يدوم
:rolleyes: :rolleyes: :clapping: :rolleyes: :rolleyes:

مثلا تفنى المسـرة ***** هكذا تفنى الهموم

#3

اخوي تمام

عملت inherits="VolunteerForm"

من غير اسم البروجكت

وكمان جربت اضيف aspx

بس مافي فايده لسه الايرور موجود

#4

المشكلة تظهر حتى لوقمت بانشاء صفحة جديدة وفارغة؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

قل لمن يحمل هما ****** إن همــــا لا يدوم
:rolleyes: :rolleyes: :clapping: :rolleyes: :rolleyes:

مثلا تفنى المسـرة ***** هكذا تفنى الهموم

#5

ايوا حتى لما انشئ صفحة جديده

#6

غريب ليس لدي فكرة واضحة عما يحصل ....... لذا أترك الإجابة لغيري

قل لمن يحمل هما ****** إن همــــا لا يدوم
:rolleyes: :rolleyes: :clapping: :rolleyes: :rolleyes:

مثلا تفنى المسـرة ***** هكذا تفنى الهموم

#7

أختي ضعي الصفحة التي تحدث فيها المشكلة مع صفحة الماستر بيج هنا

تم تعديل هذه المشاركة بواسطة KV2010 في 9 مارس 2011 في 06:59

الله أكبر الله أكبر الله أكبر لآ إله إلا الله الله أكبر الله أكبر ولله الحمد

#8
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="VolunteerForm.aspx.vb" Inherits="Neighborhood_project.VolunteerForm" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="StyleSheet1.css" rel="stylesheet" type="text/css" />

    </head>
<body>
    <form id="form1" runat="server">

    <table class="style1">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
        <tr>
            <td class="style2" style="border-style: inset; border-width: medium" 
                align="center">
                <asp:Image ID="Image1" runat="server" Height="187px" 
                    ImageUrl="~/images/shear.jpg" Width="293px" />
            </td>
            <td bgcolor="#CCFFCC" class="style3" dir="rtl">
                <h1 align="center" 
                    style="font-family: Andalus; font-size: 45px; color: #008000">
                    مركز حي النزلة</h1>
                <p class="style4" 
                    style="font-size: 30px; color: #996633; text-decoration: underline">
                    استمارة عضوية</p>
            </td>
        </tr>
    </table>
    <table bgcolor="#FFCC99" class="style1">
        <tr>
            <td  colspan="2" dir="rtl" class="style66">
                أولا: البيانا ت الشخصية</td>
        </tr>
        <tr>
            <td class="style18" >
                <asp:TextBox ID="TxtFName" runat="server"  Width="30%"></asp:TextBox>
            </td>
            <td class="style23" >
                الاسم الأول</td>
        </tr>
        <tr>
            <td class="style18">
                <asp:TextBox ID="TxtLName" runat="server" Width="30%"></asp:TextBox>
            </td>
            <td class="style23" >
                الاسم الأخير</td>
        </tr>
        <tr>
            <td class="style18" >
                <asp:TextBox ID="TxtNationality" runat="server" Width="30%"></asp:TextBox>
            </td>
            <td class="style23" dir="rtl">
                الجنسية</td>
        </tr>
        <tr>
            <td class="style18" >
                <asp:TextBox ID="TxtDateBirth" runat="server" ></asp:TextBox>
                <cc1:CalendarExtender ID="TxtDateBirth_CalendarExtender" runat="server" 
                    Enabled="True" Format="MM/dd/yyyy" TargetControlID="TxtDateBirth">
                </cc1:CalendarExtender>
            </td>
            <td class="style23" dir="rtl">
                تاريخ الميلاد</td>
        </tr>
        <tr>
            <td class="style18">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    Height="18px" Width="127px">
                    <asp:ListItem Value="18-30"></asp:ListItem>
                    <asp:ListItem Value="30-40"></asp:ListItem>
                    <asp:ListItem Value="40-50"></asp:ListItem>
                    <asp:ListItem Value="50-60"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style23" dir="rtl">
                العمر</td>
        </tr>
    </table>
    <table class="style1" dir="rtl">
        <tr bgcolor="#FFCC99" dir="ltr">
            <td class="style23" dir="rtl">
                رقم الهوية</td>
            <td class="style18" dir="rtl">
                <asp:TextBox ID="TxtIdentity" runat="server" Width="80%"></asp:TextBox>
            </td>
            <td class="style23" dir="rtl">
                مصدرها</td>
            <td class="style18" dir="rtl">
                <asp:TextBox ID="TxtIssuing" runat="server" Width="200px"></asp:TextBox>
            </td>
            <td class="style23" dir="rtl">
                تاريخها</td>
            <td dir="rtl" class="style18">
                <asp:TextBox ID="TxtDateIssuing" runat="server" Width="180px"></asp:TextBox>
                <cc1:CalendarExtender ID="TxtDateIssuing_CalendarExtender" runat="server" 
                    Enabled="True" Format="MM/dd/yyyy" TargetControlID="TxtDateIssuing">
                </cc1:CalendarExtender>
            </td>
        </tr>
        <tr bgcolor="#FFCC99" dir="ltr">
            <td class="style23" dir="rtl" colspan="6">
                 </td>
        </tr>
        <tr bgcolor="#FFCC99">
            <td class="style23" dir="rtl">
                هاتف المنزل</td>
            <td class="style18">
                <asp:TextBox ID="TxtPhone" runat="server" Width="185px"></asp:TextBox>
            </td>
            <td class="style23">
                جوال</td>
            <td class="style18">
                <asp:TextBox ID="TxtMobile" runat="server" Width="80%"></asp:TextBox>
            </td>
            <td class="style23">
                البريد الالكتروني</td>
            <td class="style18">
                <asp:TextBox ID="TextBox9" runat="server" Width="216px"></asp:TextBox>
            </td>
        </tr>
    </table>
    <table bgcolor="#FFCC99" class="style1">
        <tr>
            <td class="style27" dir="rtl" colspan="2">
                 </td>
            <td class="style29" dir="rtl">
                <asp:TextBox ID="TxtHaiStreet" runat="server" Width="200px"></asp:TextBox>
            </td>
            <td class="style23" dir="rtl">
                اسم الحي/اسم الشارع        </td>
        </tr>
        <tr>
            <td class="style25" dir="rtl">
                <asp:TextBox ID="TxtCollageName" runat="server" Width="409px"></asp:TextBox>
            </td>
            <td class="style23" dir="ltr">
                اسم المدرسة / الجامعة / أخرى              
            </td>
            <td class="style24" dir="rtl">
                <asp:TextBox ID="TxtQuali" runat="server"  Width="184px"></asp:TextBox>
            </td>
            <td class="style23">
                المؤهل المدرسي</td>
        </tr>
        <tr>
            <td class="style25" dir="rtl" colspan="4">
                 </td>
        </tr>
    </table>
    <table bgcolor="#FFCC99" class="style1">
        <tr>
            <td class="style66" colspan="2" dir="rtl">
                ثانيا: الخبرات والمهارات</td>
        </tr>
        <tr>
            <td class="style18" >
                <asp:TextBox ID="TxtExperience" runat="server"  Width="406px" 
                    TextMode="MultiLine"></asp:TextBox>
            </td>
            <td class="style23" >
                الخبرات</td>
        </tr>
        <tr>
            <td class="style18" >
                <asp:TextBox ID="TxtSkills" runat="server"  Width="406px" TextMode="MultiLine"></asp:TextBox>
            </td>
            <td class="style23" >
                المهارات</td>
        </tr>
        <tr>
            <td dir="rtl" class="style68">
                 </td>
        </tr>
    </table>
    <table bgcolor="#FFCC99" class="style1">
        <tr>
            <td class="style66" colspan="2" dir="rtl">
                ثالثا: الأعمال التطوعية السابقة</td>
        </tr>
        <tr>
            <td class="style18" dir="rtl">
                <asp:TextBox ID="TxtVWork" runat="server" Width="390px" TextMode="MultiLine"></asp:TextBox>
            </td>
            <td class="style23" dir="rtl">
                أعمال سابقة</td>
        </tr>
        <tr>
            <td class="style23" colspan="2">
                <br />
            </td>
        </tr>
        </table>
    <table bgcolor="#FFCC99" class="style1">
        <tr>
            <td class="style66" colspan="3" dir="rtl">
                رابعا: العمل التطوعي</td>
        </tr>
        <tr>
            <td  dir="rtl">
                 </td>
            <td dir="rtl">
                <asp:DropDownList ID="DropDownList2" runat="server">
                    <asp:ListItem Value="يومي"></asp:ListItem>
                    <asp:ListItem Value="أسبوعي"></asp:ListItem>
                    <asp:ListItem Value="شهري"></asp:ListItem>
                    <asp:ListItem Value="موسمي"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td dir="rtl">
                <b>الزمن</b></td>
        </tr>
        <tr>
            <td class="style55" dir="rtl">
                 </td>
            <td class="style23" dir="rtl">
                <asp:CheckBoxList ID="CheckBoxList1" runat="server" Height="59px" 
                    RepeatDirection="Horizontal" Width="200px" style="margin-right: 0px">
                    <asp:ListItem Value="السبت"></asp:ListItem>
                    <asp:ListItem Value="الأحد"></asp:ListItem>
                    <asp:ListItem Value="الاثنين"></asp:ListItem>
                    <asp:ListItem Value="الثلاثاء"></asp:ListItem>
                    <asp:ListItem Value="الأربعاء"></asp:ListItem>
                    <asp:ListItem Value="الخميس"></asp:ListItem>
                    <asp:ListItem Value="الجمعة"></asp:ListItem>
                </asp:CheckBoxList>
            </td>
            <td dir="rtl">
                <b>الأيام</b></td>
        </tr>
        <tr>
            <td class="style55" dir="rtl">
                 </td>
            <td class="style23" dir="rtl">
                <asp:CheckBoxList ID="CheckBoxList2" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="الفصل الدراسي الأول"></asp:ListItem>
                    <asp:ListItem Value="الفصل الدراسي الثاني"></asp:ListItem>
                    <asp:ListItem Value="رمضان"></asp:ListItem>
                    <asp:ListItem Value="الأعياد"></asp:ListItem>
                    <asp:ListItem Value="الاجازة"></asp:ListItem>
                </asp:CheckBoxList>
            </td>
            <td dir="rtl">
                <b>موسمي</b></td>
        </tr>
        <tr>
            <td class="style23" dir="rtl">
                اخرى .....<asp:TextBox ID="TextBox23" runat="server" Width="283px"></asp:TextBox>
            </td>
            <td class="23" dir="rtl">
                <asp:DropDownList ID="DropDownList3" runat="server">
                    <asp:ListItem Value="تعليم"></asp:ListItem>
                    <asp:ListItem Value="تنظيم وتنسيق"></asp:ListItem>
                    <asp:ListItem Value="برامج اجتماعية"></asp:ListItem>
                    <asp:ListItem Value="علاقات عامة"></asp:ListItem>
                    <asp:ListItem Value="أخرى"></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td dir="rtl">
                <b>مجال التطوع
            </b>
            </td>
        </tr>
        <tr>
            <td class="style23" dir="rtl">
                ماهي ؟    
                <asp:TextBox ID="TextBox22" runat="server"  Width="283px"></asp:TextBox>
            </td>
            <td class="style23" dir="rtl">
 
                <asp:CheckBoxList ID="CheckBoxList3" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="اللغة الانجليزية"></asp:ListItem>
                    <asp:ListItem Value="اللغة الفرنسية"></asp:ListItem>
                    <asp:ListItem Value="لغات أخرى"></asp:ListItem>
                </asp:CheckBoxList>
            </td>
            <td dir="rtl">
                <b>لغات أخرى تجيدها</b></td>
        </tr>
        <tr>
            <td class="style23" colspan="3" dir="rtl">
                <asp:CheckBox ID="CheckBox1" runat="server" 
                    Text="أقر بصحة بياناتي أعلاه والالتزام بلائحة الفرق التطوعية   " />
             <asp:LinkButton ID="LinkButton1" runat="server">اقرأ المزيد</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td class="style23" colspan="3" dir="rtl">
                <asp:Panel ID="Panel1" runat="server" Visible="False">
                    <asp:TextBox ID="TextBox24" runat="server" Height="190px" TextMode="MultiLine" 
                        Width="60%"></asp:TextBox>
                </asp:Panel>
            </td>
        </tr>
    </table>
    <table class="style1">
        <tr bgcolor="#FFCC99">
            <td class="style23" dir="rtl">
                <asp:Button ID="Button3" runat="server" BackColor="#CCFFCC" CssClass="style62" 
                    Font-Bold="True" Height="34px" Text="عودة " Width="140px" />
            </td>
            <td class="style23" dir="rtl">
                <asp:Button ID="Button2" runat="server" BackColor="#CCFFCC" CssClass="style62" 
                    Font-Bold="True" Height="33px" Text="الغاء" Width="139px" />
            </td>
            <td dir="rtl" class="style23">
                <asp:Button ID="Button1" runat="server" BackColor="#CCFFCC" CssClass="style62" 
                    Font-Bold="True" Height="33px" Text="موافق" Width="145px" />
            </td>
        </tr>
    </table>

    </form>
</body>
</html>

أخوي هذي الصفحة بس انا ما ابغاها تعمل انهرت من الماستر بيج

وهذا الماستر بيج

<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site1.master.vb" Inherits="Neighborhood_project.Site1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
     <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
    <link href="StyleSheet1.css" rel="stylesheet" type="text/css" />



</head>
<body >
    <form id="form1" runat="server">
    <div class="TableDiv" dir="rtl" >
        <table class="table" dir="ltr">
            <tr>
                <td colspan="4"  class="headr">
                    <img alt="" src="images/امج_معدل.jpg" style="width: 806px; height: 203px" 
                        width="100%" /></td>
            </tr>
            <tr >
                <td class="menu1" >
                    الرئيسية    </td>
                <td  class="menu1">
                    كلمة الادارة</td>
                <td  class="menu1">
                    الهيكل الاداري</td>
                <td class="menu1" >
                    <asp:LinkButton ID="LinkButton11" runat="server">تسجيل الدخول</asp:LinkButton></td>
            </tr>
            <tr>
                <td colspan="3">
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

        </asp:ContentPlaceHolder>
                </td>
                <td>
                    <table  class="StyleList"  width="100%" dir="ltr" style="font-size: medium" >
                        <tr>
                            <td dir="rtl" style="table-layout: fixed" class="labelStyle">
                                <asp:Label ID="Label1" runat="server"   
                                      Text="لجان المركز" 
                                     CssClass=" labelStyle"></asp:Label>
                            </td>
                        </tr >
                        <tr>
                            <td class="menu1-1"  >
                                <asp:LinkButton ID="LinkButton2" runat="server">محور الأبناء</asp:LinkButton></td>
                        </tr>
                        <tr>
                            <td class="menu1-1"  >
                                <asp:LinkButton ID="LinkButton3" runat="server">محور البيئة والصحة</asp:LinkButton></td>
                        </tr >
                        <tr>
                            <td class="menu1-1"  >
                                <asp:LinkButton ID="LinkButton4" runat="server">محور الأسرة ومجتمع الحي</asp:LinkButton></td>
                        </tr>
                        <tr>
                            <td class="labelStyle" >
                                <asp:Label ID="Label2" runat="server"  CssClass="labelStyle" 
                                     Text="خدمات الكترونية" ></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="menu1-1" >
                                <asp:LinkButton ID="LinkButton8" runat="server">تقديم شكوى</asp:LinkButton></td>
                        </tr>
                        <tr>
                            <td class="menu1-1" >
                                <asp:LinkButton ID="LinkButton13" runat="server">نموذج رجال الغد</asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td class="menu1-1" >
                                <asp:LinkButton ID="LinkButton12" runat="server">نموذج متطوع</asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td class="menu1-1" >
                                <asp:LinkButton ID="LinkButton9" runat="server">الاستشارات</asp:LinkButton></td>
                        </tr>
                        <tr>
                            <td class="menu1-1" >
                                <asp:LinkButton ID="LinkButton10" runat="server">النماذج الالكترونية</asp:LinkButton></td>
                        </tr>
                        <tr>
                            <td dir="ltr" class="labelStyle">
                                التقويم</td>
                        </tr>
                        <tr>
                            <td class="menu1-3" >
                                <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
                                    BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                                    Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
                                    Width="100%">
                                    <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                                    <SelectorStyle BackColor="#CCCCCC" />
                                    <WeekendDayStyle BackColor="#FFFFCC" />
                                    <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                                    <OtherMonthDayStyle ForeColor="#808080" />
                                    <NextPrevStyle VerticalAlign="Bottom" />
                                    <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                                    <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                                </asp:Calendar>
                                <br />
                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                     </td>
                <td colspan="2">
                     </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td  colspan="4" style="background-color: #CCFFCC">
                    اتصل بنا |  خريطة الموقع  |   من نحن </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
#9

وضع هذا السطر مكان اول سطر

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="VolunteerForm.aspx.vb" Inherits="_Default" %>
#10

الحمدلله

ضبط معي الموضوع شكرا لكل من قام بالمساعدة

مواضيع مشابهة