עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

צריך עזרה ב ASP.NET בשימוש ב- image button ב- master page

Featured Replies

פורסם

היי

אני עכשיו עובד על פרויקט ואני צריך לכלול בו master page.

הגדרתי ב- master page אזור של content ואני רוצה שבלחיצה על image button ב- master page

יתחלף ה- content ל- content שנמצא בקובץ aspx אחר.

איך עושים את זה?

חיפשתי מדריכים באינטרנט ופשוט לא מצאתי משהו שעזר.

תודה לעוזרים.

פורסם

זה די פשוט, אתה יוצר דף master page (כמו שהבנתי את זה כבר עשית)

אחרי שיש לך את המאסטר תוסיף למשל עוד 2 דפי web form למשל default.aspx ו- default2.aspx

לכל דף אתה צריך להגדיר מי המאסטר שלו, במקרה שלך יש רק מאסטר אחד

אפשר להגדיר את זה כשאתה מוסיף את הדפים הרגילים או להוסיף בmarkup של הדפים:

<%@ Page Language="C#" MasterPageFile="~/MasterPages/Master1.master" Title="Content Page"%>בקישור של התמונה\כפתור אתה צריך לתת את הדף שאליו אתה רוצה לעבור

אני חושב שזה פחות או יותר כל מה שצריך לעשות יש דוגמה בmsdn

http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx#Y200

בהצלחה

פורסם
  • מחבר

תודה רבה :)

הצלחתי. :yelclap::xyxthumbs:

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.