Hello,
Thank you Eliezer. I have googled a bit and foudn out that SmartNavigation
property of set in the WebConfig to ON, may have some drawbacks..But I used it
and it works fine for me till now;)
Thanks so much for all who replied me.
I ask, I learn, I do
Imane
Eliezer Broder <[EMAIL PROTECTED]> wrote:
Imane,
A much simpler solution: try setting the SmartNavigation property of
WebConfig to ON.
Eliezer
On Wed, 02 Mar 2005 08:57:55 -0800, David Renz <[EMAIL PROTECTED]> wrote:
>
> i do something similar using IFrames for a file manager that i have
>
> <script language="javascript">
> function loadFileManager(sID,sElement) {
> if
> (document.getElementById(sID).style.display == "none") {
>
> document.getElementById(sID).style.display
> = "block";
>
> document.frames['FileManager'].location.href
> = "FileManager.aspx?Page=eventFiles&element=" + sElement;
> }
> else {
>
> document.getElementById(sID).style.display
> = "none";
> }
> }
> </script>
>
> in the code:
>
> /// add the file / open file manager
> <tr borderColor="#ffffff">
> <td class="StandardBold" vAlign="top" align="left">
> <IMG height="1" src="./../Images/Global/spacer.gif" width="10">File
> Name:
> </td>
> <td align="left" valign="top">
> <asp:TextBox id="NewFile" Runat="server"></asp:TextBox><img
> src="./../images/Global/spacer.gif" width=10 height=1
> border=0><asp:hyperlink id="hplAddFile" runat="server"
> NavigateUrl="Javascript:
> loadFileManager('spFileManager','NewFile');">Add
> File</asp:hyperlink>
> <br>
> <input type="hidden" id="NewFileID" value="0" runat="server"
> NAME="NewFileID">
> </td>
> </tr>
>
> /// show or hide the file manager
> <span id="spFileManager" style="DISPLAY : none">
> <table width="90%" align="center" cellpadding="0" cellspacing="0"
> id="tblImageManger" bordercolor="#cccccc" border="1">
> <tr bgColor="#cccccc">
> <td height="20"><IMG height="1" src="./../Images/global/spacer.gif"
> width="4" border="0">
> <A href="Javascript: loadFileManager('spFileManager','NewFile');"><IMG
> src="./../images/global/close2.jpg" border="0"></A>
> <A href="Javascript: loadFileManager('spFileManager','NewFile');">Close
> File Manager</A>
> </td>
> </tr>
> <tr bordercolor="#ffffff">
> <td align="center" height="500">
> <iframe id="frmFileManager" name="FileManager" align="top"
> src="FileManager.aspx?Page=eventFiles" width="98%" height="98%"
> runat="server" frameborder="0"></iframe>
> </td>
> </tr>
> </table>
> <br>
> </span>
>
> though you could create a user control and load that via the code
> behind using a link or a button ... i just got started down the IFrame
> path and it stuck.
>
> >>> [EMAIL PROTECTED] 03/02/2005 8:47:50 AM >>>
>
> Hello,
>
> I need to clikc a button on a page and make a panel appear, then click
> a link to make it disappear. I have problem is that when i click , the
> page reloads from its top. I wish I find another way to not make it
> reload, but i didn't so far, and I thought of using frames, but they are
> evil..now I am looking if there is a way to load the page at a certain
> position, and how can I know the position in the page?
>
> Thank you so much guys
>
> Imane
>
> Ian Payne <[EMAIL PROTECTED]> wrote:
> Ari,
>
> You could do something like:
>
> bool result = false;
> try
> {
> DateTime dt = DateTime.Parse(dt):
> Result = true;
> }
> catch{}
> return result;
>
> hth,
> Ian
>
> -----Original Message-----
> From: Arindam [mailto:[EMAIL PROTECTED]
> Sent: 02 March 2005 16:30
> To: [email protected]
> Subject: [AspNetAnyQuestionIsOk] How do i check mm/dd/yyy format ?
>
> How do i check my input in the textbox is in 'mm-dd-yyyy' format.
>
> Actually i want to write a function like :
>
> public bool IsProperDate(string dt)
> {
> if (dt is in date format)
> {
> return true;
> }
> else
> {
> return false;
> }
>
> }
>
> How do i write it ?
>
> Thanks
>
> Thanks & Regards
>
> Arindam
> Web Designer & Developer
>
> Yahoo! India Matrimony: Find your life partneronline.
>
> [Non-text portions of this message have been removed]
>
> Yahoo! Groups Links
>
> Yahoo! Groups SponsorADVERTISEMENT
>
> ---------------------------------
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> ---------------------------------
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
>
> [Non-text portions of this message have been removed]
>
> Yahoo! Groups SponsorADVERTISEMENT
>
> Yahoo! Groups Links
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> Yahoo! Groups Links
>
>
>
>
>
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/