|
Instead of document.getElementById('LeftTD').style.display='block';
Have you tried:
document.getElementById('LeftTD').style.display='table-cell';
Hope this helps,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
hi all,
I used this site a reference for many thing . I got answers from other,s post itself .Rarely i posted questions
Now i am facing a problem . I were using module variables in application .Now we chnaging to session varibles
I am using an object of a class in each webpage . since i dont want to declare that object in each function i am declaring at the form level
when i was using module variable it was not giving any error
i changed it to session variable . Now it s giving an error
error is pasted below
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.
so i added EnableSessionState="True" to page directive . then also it is giving error
this is the code that gave the error
Partial Public Class Chart
Inherits System.Web.UI.Page
Dim ObjCls As New MVCTM.ClsFetchApply("", Session("country"))
Dim OraMod As New MVCTM.ModMain(Session("country")) Dim dt As New DataTable()
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
when i changed the declaration in to form load it is not giving any error
Partial Public Class Chart
Inherits System.Web.UI.Page
Dim dt As New DataTable()
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim ObjCls As New MVCTM.ClsFetchApply("", Session("country"))
Dim OraMod As New MVCTM.ModMain(Session("country"))
Can any one suggest me a solution
thanks & regards
nevviin
|
|
|
|
|
Hi...
You can't get the Reference of session before pageload... that means in Pageinit
|
|
|
|
|
hi
thanks for reading my post .
Is there any way to create an instance of the class using session varibale at form level ? or I have to declare for each function ?
thanks & regards
nevin
|
|
|
|
|
nevincm wrote: Is there any way to create an instance of the class using session varibale at form level ?
No. When the Page object is created it's too early to use Session variables, as it's determined later if the page is sessionless or not.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Can you not say something like:
Dim ObjCls As MVCTM.ClsFetchApply
Dim OraMod As MVCTM.ModMain
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
ObjCls = New MVCTM.ClsFetchApply("", Session("country"))
OraMod = New MVCTM.ModMain(Session("country"))
|
|
|
|
|
Hi All,
In a .aspx page i run some heavy javascript code that takes 7-10 seconds to be completed,before starting
this processing i display a .gif image,In this image a dot automatically rotates.This image shows the user that
processing is being done and he should wait.Rotation of dot is in-built in this image.
But when javascript code runs,in image this dot stops rotating.
i just know that this happens due to heavy javascript code.
Please provide some solution or some other alternative.
Thank You.
"Every thing matters in this world but what you think,it matters more.
When thinking changes,the whole world changes."
|
|
|
|
|
The event for button click on my firstpage.aspx:
session["username"]=TextBox1.Text;
Response.Redirect("~/second.aspx");
second.aspx
page load event:
if((string)Session["username"]==null)
Response.Redirect("~/firstpage.aspx");
else
Response.Write("Welcome");
log out button click event of second.aspx:
Session["username"]=null;
Session.Abandon();
Response.Redirect("~/firstpage.aspx");
Code is working and i am redirected to firstpage.aspx after clicking log out button but when i am clicking back button of browser i can also access second.aspx which i dont want.What should i do to restrict the access of the second page after logging out???
|
|
|
|
|
Check whether u can access the controls of secondpage.aspx after logout or u just see the page.
I think if you try to access any control of secondpage.aspx, u'll be redirected to firstpage.aspx and will be asked for username & password.
|
|
|
|
|
If you are not already using it, I highly recommend the asp.net login control.
Its very good and allows you to do lots of things such as the above.
|
|
|
|
|
He is right, login cotrol is better option.
|
|
|
|
|
nagendrathecoder wrote: , login cotrol is better option.
Not always. It will always better to use your own custome login control.
cheers,
Abhijit
|
|
|
|
|
One thing you can do:On clientclick of Logout button clear the window.history".It'll solve your problem
Cheers!!
Brij
|
|
|
|
|
but in my program i am checking my users with their userid and password from sql server database so login control i think is out of scope.Second, After authentication i am maintaining the session but unable to log off what could be the solution?
|
|
|
|
|
Error Msg panel is not coming when updatePanel is applied on page else it is showing.Error msg is like pop up on a page.
can any one suggest me solution for this.
|
|
|
|
|
I have no clue what you are trying to say here.
Let me try and reword it a bit better.
When you add an UpdatePanel to the page, your MsgPanel is not being showed and the MsgPanel is works like a popup, to show a error.
Is this what you are trying to say????
|
|
|
|
|
Hey guys, I looked around for a some kind of walkthrough or tutorial for using flash files in an asp.net page but couldn't get any ! can you help me out and guide me to a reference or something !
thanx
Mr.K
|
|
|
|
|
use Object Tag of asp.net
cheers,
Abhijit
|
|
|
|
|
could u be a little more specific ?
Mr.K
|
|
|
|
|
try this
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="265" height="150">
<param name="movie" value="<code>FilePath</code>" />
<param name="quality" value="high" />
<param name="bgcolor" value="none" />
<param name="wmode" value="transparent" />
<embed src="<code>FilePath</code>" quality="high" wmode="transparent" bgcolor="none" width="265" height="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
</object>
cheers,
Abhijit
|
|
|
|
|
Hi,I am developing an webpage which runs on a barcode scanner.There I have given one TextBox in which the scanned input will come.I want the cursor to be moved automatically to the next control as soon as the scanning is complete.Right now,the user scans and then presses Tab key to go to the next control.
ARINDAM
|
|
|
|
|
hey buddy ! dunno if this is what u lookin' for, but when your scan is completed using this code you can go to the next control.
control.focus();
|
|
|
|
|
Hi,
I am creating a website that will allow users to create their own mini-site with customisable content and a choice of simple designs.
My problem is that i need to allow the user / customer to choose the design/layout for their site and can be changed as and when they require. Thus when a 3rd party visit the users/customers site they see it as the design the user selected from their admin.
What is the best way to do this?
The only info i can find on this matter would suggest using a MasterPage for all pages and then using themes to position and colour page elements via css.
This however seems a little cumbersome, and difficult to maintain. I imagine it would be easier if the MasterPage for a given page could be determined at run-time, although i guess the need to compile a site (and select the masterpage before the code is run), would make this impossible?
Or can you select MasterPages via Theming??
Any help would be greatly received.
Thanks in advance.
|
|
|
|
|
this is showing one project but how can download it, i want this project please give me suggestions.
i can't find download link any where
http://www.pudn.com/downloads94/sourcecode/app/detail372992.html
This is haneef.............................................................
|
|
|
|
|