我在Page_Init中创建了大约50个ImageButton,但是每个按钮都会调用Page_Init。每次单击任何按钮,页面都会再次转到首页。如何初始化asp页面?
代码:-
Dim isInitialized As Boolean = False
Dim calShipping As Calendar
Dim ibnCalendar As ImageButton
Dim lblShipping As Label
Dim pnlMain As Panel
Dim tblMain As Table
Dim txtShipping As TextBox
Private Sub Schedule
我使用Drupal 7模块日历,视图和面板。
我使用日历模块的块-迷你日历视图显示在我的首页上。
然后,我创建了一个自定义视图,仅显示用户选择的当天事件的列表。
我把它作为上下文过滤器:Date: Date (node) (Content: Dates - start date (event_calendar_date))
And Filter Criteria:
Content: Published (Yes)
Content: Type (= Event Calendar)
然后,我创建了一个面板页面,该页面通过URL接收日期的参数,并传递给创建的视图(我上面创建的视图放在用event
我有一个asp.net日历控件:
<asp:Calendar runat="server" ID="calendar" SelectionMode="Day" ondayrender="DateRange" />
及其背后的代码:
protected void DateRange(object sender, DayRenderEventArgs e)
{
//do some codes here to set the range of the calendar to display
}
我没有为我的DateR