|
how to get focus in a textbox on pageload which works in all browser specially in mozilla & IE ?????
hiiiiii
|
|
|
|
|
it can be textBox1.Focus(); I don't know if that works with Mozilla, try it !!!!!
|
|
|
|
|
If I have a big article with different fonts and mixed with some picture to represent in browser (with asp - client and c# - server) how can I do it?
If I have the document in any db and that dacument can be very larg to represent in a simple page. I wan to represent in simple page with 2 part like a book with 2 pages. But if document is biger then 2 pages I wan to put any button to go to another pice of document in that 2 pages.
I'm looking some think like word, but in server - client technice.
thnx Atdheu.
|
|
|
|
|
Please I have site with domain www.xxxx.com this site have web service. This web service call though javascripts and display the result my question is:
How I protect my web service call from other site like www.YYYY.com?
|
|
|
|
|
|
Hi to all,
How can we store some information in to Javascript(Using AJAX).In
one of the my form contain textbox and dropdownlist.
While filling up data into textbox user navigate to other page
and again he come to original page then whatever the text write in
textbox before he navigate to other page should be
remain as it is.
How can i implemented this functionality using AJAX.
I am using asp.net 1.1.
Thanks,
df
|
|
|
|
|
rahul.net11 wrote: How can we store some information in to Javascript(Using AJAX).
Well, you use Javascript. That's what AJAX is, you use Javascript to make the call, and Javascript to intercept the call and examine what is sent back.
rahul.net11 wrote: user navigate to other page
and again he come to original page
OK, so you don't know what AJAX is then ? AJAX is all about making calls to the server, without refreshing a page. You cannot use AJAX to do anything in your situation.
rahul.net11 wrote: How can i implemented this functionality using AJAX.
I recommend buying a book on AJAX, and not asking how to use things that you don't remotely understand yet. You have a specific problem, you don't know what AJAX does, why assume AJAX is the only possible way to solve it ?
rahul.net11 wrote: I am using asp.net 1.1.
Then you should probably ask in the ASP.NET forum, but the only way to do this in 1.1 is to put something on the query string as you go between pages, either the data itself, or if it's stored in the database, an Id you can use to get the data out of your data store, or to store it in the session. ASP.NET 2.0 offers cross page postback as well, but I wouldn't use that anyhow, it's a colossal hack.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks Christian Graus,
that means we cant do this functionality using AJAX.
But is there any other way to do this functionality.Can i do it using only
javascript?
Thanks.
df
|
|
|
|
|
I recommend buying a book on web development and reading it. It's obvious you really don't understand how web based architecture fundamentally works. The answer I gave you outlines the best ways to do what you want, why would you feel the need to do it with javascript ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sounds like you want to auto-save the text back to the server periodically, and then restore it when the user returns to the page. This is fairly easy, but as CG suggested you'll want to spend some time learning the basics before jumping into it. Spend some time using GMail to get an idea of what a responsive, auto-saving, web-app looks like...
----
Yes, but can you blame them for doing so if that's the only legal way they can hire programmers they want at the rate they can afford?-- Nish on sketchy hiring practices
|
|
|
|
|
HI Shog
Can u give me some link from which i studied the functionality and]
trying to implemented it.
Thanks.
df
|
|
|
|
|
|
Hi Urs Enzler,
I am studying this refernece that u provide might it
helps me?
Thanks.
df
|
|
|
|
|
I think so, otherwise I hadn't provided it
The article describes a possible approach to save the state of a page in the session. When the page is requested, this state (for example the value of a TextBox) can then be restored.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Hi Urs Enzler
This article is in C# 2005 version n i am working on 2003.I am trying to convert in in vb.net 2003.In this article there is one file named
ClassDiagram.cd which contain XML code can u told me .cd means which type of
file is this?
Thanks.
df
|
|
|
|
|
you can ignore this file, this is a class diagram file. It is not necessary to run the application.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Thanks Urs Enzler
One more query please
In following section when i convert this code to vb.net in
If System.Web.HttpContext.Current IsNot Nothing Then
this line it gives me error System.Web.HttpContext cannot be converted
to boolean can u please tell me why it gives the error.
my converted code is as follow.
Protected Overloads Overrides Sub OnPreRender(ByVal e As EventArgs
If System.Web.HttpContext.Current IsNot Nothing Then
PullState()
PageState.SetPageState(Me, Me.PageState)
End If
MyBase.OnPreRender(e)
End Sub
-
df
|
|
|
|
|
It's not necessary - you can define it as protected - but this way it's guaranteed that you can not change the value in a base class.
I don't know how this is normally done in VB? (anyone?)
Happy Programming
Urs
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Thanks Urs Enzler
One more query please
In following section when i convert this code to vb.net in
If System.Web.HttpContext.Current IsNot Nothing Then
this line it gives me error System.Web.HttpContext cannot be converted
to boolean can u please tell me why it gives the error.
my converted code is as follow.
Protected Overloads Overrides Sub OnPreRender(ByVal e As EventArgs
If System.Web.HttpContext.Current IsNot Nothing Then
PullState()
PageState.SetPageState(Me, Me.PageState)
End If
MyBase.OnPreRender(e)
End Sub
df
|
|
|
|
|
sorry, I can't help you because I don't know the syntax of VB.NET
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
You're welcome.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
I have an object that I've created to interface with a file upload and parsing in a webapp. The object basically keeps a string of the filename inside itself and then parses the file into a list at the proper time.
The file is uploaded and then hashed and the hash is presented to the user before "signing". After they sign the file is parsed. If, however, they close the page or don't do anything with it, how can I guarantee the file is deleted from the disk? Would it be best to put a deletion routine in the destructor of the object?
|
|
|
|
|
a bit a special idea:
- add object to cache that identifies file with an time when it should expire, register handler when cache element is removed.
- in event handler remove file from disk
No other idea right now
Happy Programming
Urs
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
I have my web app developed in ASP.NET 2.0 and runs on IIS 6.0 and IE 6.0. Is it possible to configure my application to run on IIS 7.0 without making changes in the code itself? IIS 7.0 provides IIS6 Management compatibility component for backbard compatability which i Installed. After that my setup/installer started working and it installed the application on my machine. I am using Windows Vista Business Edition and i have installed everything under IIS except Fax services.
I am stuck with configuring Integrated Windows Secruity in IIS 7.0 for my website. My application doesn't allow anonymous access but uses only windows authentication. I am only able to see three options in the IIS 7.0 Authentication. Anonymous, ASP.NET and Forms. i tried different combinations but my web pages are not opening... either i get HTTP 401.2 or HTTP 401.3 error. It's says unauthorized user or authentication headers are not correct ....
One of microsoft's article mentions that you would be able to see option for Windows Authentication asl well in your IIS Manager but i can't see this option.
Any idea? In short I just want my previous IIS6 application (.NET 2.0) to run on Vista Business.
@!$(-)@ $@r£r@Z
|
|
|
|
|
Can someone suggest me any tutorial, book or article on AJAX.
Thanx
Regards, Qaiser Nadeem
|
|
|
|