CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/7/2007 3:12:41 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Sharonrao123
Asp.Net User
Popup calendar problem2/7/2007 3:12:41 AM

0/0

Hello Everyone,

I have made a webform in asp.net 2005 with a calendar control, please see below for code. I have another webpage with hyperlink to popupcalendar page. The problem is the second page has a masterpage and when i click the hyperlink the popupcalendar is displayed but the date selected is not being transferred to the text box in the second page, It works fine if i remove the master page link from the second page, any ideas guys whats happening here.

HTML CODE - Popup Calendar:

<%@ Page Language="vb" AutoEventWireup="false" Inherits="KMAttendance.PopUp" CodeFile="PopUp.aspx.vb" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>

<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">

Width="220px" DayNameFormat="FirstLetter" ForeColor="#003399" Height="200px" Font-Size="8pt"
Font-Names="Verdana" BorderColor="#3366CC" CellPadding="1">

<SelectorStyle ForeColor="#336666" BackColor="#99CCCC"></SelectorStyle>


<SelectedDayStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedDayStyle>

BorderStyle="Solid" BorderColor="#3366CC" BackColor="#003399">



<input type="hidden" id="control" runat="server" visible="false"> 
</form>
</body>
</HTML>

VB CODE-popup calendar:

Imports System.Web.UI.HtmlControls.HtmlGenericControl

Namespace KMAttendance
Partial Class PopUp
Inherits System.Web.UI.Page


Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'control.Value = Request("textbox")
control.Value = Request.QueryString("textbox")
End Sub

Protected Sub Change_Date(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim strScript As String = "<script>window.opener.document.forms(0)." + Request.QueryString("textbox").ToString() + ".value = '"
'strScript += calDate.SelectedDate.ToString("dd/MM/yyyy")
strScript += calDate.SelectedDate.ToLongDateString
strScript += "';self.close()"
strScript += " RegisterClientScriptBlock("Calendar_ChangeDate", strScript)
'Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "anything", strScript, True)
End Sub

Private Sub InitializeComponent()

End Sub

End Class

End Namespace

HTML Code-Second Webpage
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="NoUpdate.aspx.vb" Inherits="KMAttendance.NoUpdate" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>



<table border="0" align="Left" cellpadding="0" cellspacing="4" bordercolordark="silver" style="width: 456px; height: 16px">
<tr>
<td align="center" style="height: 19px; width: 61px;">
</td>
<td align="Left" style="height: 19px; width: 103px;">
 <table style="width: 286px; height: 57px">
<tr>
<td style="width: 25px; height: 21px;">
</td>
<td style="height: 21px">
</td>
<td style="height: 21px">
 </td>
</tr>
<tr>
<td style="width: 25px; height: 21px">
<IMG src="Images/calendar.png" border="0">
</td>
<td style="height: 21px">
</td>
<td style="height: 21px">
</td>
</tr>
<tr>
<td style="width: 25px">
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
                     

Thanks in Advance for your help. Best Regards, Sharon
Zhao Ji Ma - MS
Asp.Net User
Re: Popup calendar problem2/8/2007 8:07:22 AM

0/0

I can't find textbox control in your second aspx file, I guess it might be located somewhere else?

 


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Access Cookbook: Solutions to Common User Interface & Programming Problems Authors: Ken Getz, Paul Litwin, Andy Baron, Microsoft Corporation, Pages: 810, Published: 2004
JavaScript Demystified: A Self-Teaching Guide Authors: James Edward Keogh, James Keogh, Pages: 375, Published: 2005
JavaScript and DHTML Cookbook: Solutions and Example for Web Programmers Authors: Danny Goodman, Pages: 520, Published: 2003
Information Technology and the Teaching of History: International Perspectives Authors: Allan Martin, Lez Smart, David Yeomans, Pages: 250, Published: 1997
Web Bloopers: 60 Common Web Design Mistakes, and how to Avoid Them Authors: Jeff Johnson, Pages: 329, Published: 2003
Web Accessibility: Web Standards and Regulatory Compliance Authors: Jim Thatcher, Michael R. Burks, Christian Heilmann, Shawn Lawton Henry, Patrick H. Lauke, Richard Rutter, Pages: 648, Published: 2006
Professional JavaScript for Web Developers Authors: Nicholas C. Zakas, Pages: 0, Published: 2005
The Promotable Woman Authors: Norma Carr-Ruffino, Pages: 308, Published: 2004

Web:
Dynamic Drive DHTML Scripts- Popup Calendar Sev's Popup Calendar script allows for a visual, interactive way of selecting and inputting this date, rendering the job of your visitor reaching for a ...
Popup Calendar 1.1 - DHTML Lab - WebReference.com Our DHTML Lab Popup Calendar 1.0 has already met with considerable success ... The DHTML Lab Popup Calendar 1.1 includes two minor problem fixes and one new ...
pop up calendar problem? - PHP pop up calendar problem? - PHP Community and Forum - Our PHP forum is the place for Q&A-style discussions related to this popular development language.
Popup Calendar - 3D popup calendar/scheduler with alarms Shows ... A useful popup calendar can be brought up by clicking on the DateInTray icon. ... in JavaScript but had little problem modifying the calendar for my use. ...
Calendar Popup Script You next attach the script into your web page that you want to be able to display a popup calendar from by adding the following code into the head section ...
JavaScript Toolbox - Calendar Popup To Select Date ... 2003: Fixed a minor problem in YEAR calendar with // CSS prefix. .... 5) The calendar popup display uses style sheets to make it look nice. ...
Popup Calendar Problem in Mozilla - Forums & Blog When he clicks on the popup calendar, only the top half of the calendar is displayed. Apparently, something is wrong with the dimensions of ...
Blank value in BDPLite popup calendar - Problem - ASP.NET Forums Blank value in BDPLite popup calendar - Problem. Last post 10-20-2008 12:49 AM by vijai_sarath. 2 replies. Sort Posts: ...
The Coolest DHTML / JavaScript Calendar [dynarch.com] Popup or flat DHTML calendar » Suitable for selecting date/time ... Re[3]: Disable/Enable dates problem · Calendar Setup date Parameter · Re[2]: jsCalendar ...
Popup Calendar problem in DHTML Editing The problem I have is that other objects that are on the page, most notably a SELECT control, actually appear within the the popup calendar. ...

Videos:
Pop Up 2009 Calendar http://shop.3dpapergraphics.com
Custom printed calendar - promotional pop-up calendar This pop-up product was custom printed as a calendar as part of a direct marketing campaign. It was designed to look like a sand castle. Further info...
Promotional pop up Calendar This promotional pop up calendar has been created using cardboard engineering technology. It is ideal for direct marketing as it is supplied flat in ...
Google Calendar Episode 9 Pasta Salad Noodlehead Studios Google calendar is a very well designed free calendar that Google offers. You can use this powerful tool for people in the work place. Google calenda...
Google Calendar - come impostare notifiche Tutorial in 9 passi per impostare le notifiche via email o pop-up degli eventi in agenda su Google Calendar.
Promotional pen holder and promotional calendar This promotional product is a pen holder with automatic pop-up action that is custom printed with a calendar. It is used in direct marketing campaign...
Promotional Calendar and Pen Pot This is an ideal alternative to a company Christmas card - a pen pot printed as a calendar. As an extra bonus, this one has automatic pop-up action. ...
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming environmen...
Custom made pop-up sandcastle This automatic pop-up product was custom made in the uk by Whitney Woods with dates printed on the sides so that it could act as a desk top calendar....
Wordpress Theme on Steroids Wordpress is an easy to use blogging tool. Unfortunately, the base configuration and themes bundled with the software are less than desirable. Now, S...




Search This Site:










loggin in portals automatically.

how to create a forum using dnn 4.0.2?

re-authenticating a user even with the authentication cookie set

editmodule

can't run .asmx files?

tool to convert mdf to sql?

web page looks great in ie 7 (no supprise) but is meesed up in firefox.

why does menu control not show subnavs unless page refreshed?

skinning question

where can i donwload vs 2005 team system

treemenu, hyperlink & sitemap

database problem i think :)

skin upload - file manager (.zip) vs. ftp (.aspx, etc)

c# equivalent of addressof

restricting users based on roles

3.0.13 issue?? visible by administrators only

can we extend the precompiled & deployed application in asp.net

nagivation issue with gallery add-in for dnn3

grouping members

how to add a user-control to a page?

web designer & asp.net configuration tool error

password expiry

visual studio crashes

what is with the naming conventions of user controls in vs2005!

replacing web.config connectionstring user id and password

forms processing

where can i get download the ibuystore code with accesss and vb?

upgrade issues 2.0.4 to 2.1.2

request is not available in this context

tabstrip && internet explorer 7

 
All Times Are GMT