Note that you should access this property in the PreRender event, not Load event because the textbox value will not be processed until after the Load event completes, the post-data is processed, then prerender fires.
you could set an input mask, like ************* . that should do the trick... you could also use code. for example, on the textbox1_changed event, check the length and if it's too short popup a messagebox
Javascript runs on the client, not the server. so when the javascript runs to open the pdf file, the window will be looking for the file on the users local system, not the pdf on the server.
Instead, Handtek needs to be a URL that points to the PDF on the server. so for example, if your web...
after you get the new_path node, navigate to the parent...
dim parent_node as system.xml.xmlelement = new_path.parentNode
then select the optionsid node from there
dim optionsid_node as system.xml.xmlelement = parent_node.selectSingleNode("optionsid")
then pull the innertext out
dim...
check out the 'Credentials' property on the webrequest object: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetwebrequestclasstopic.asp
I ran across an example of how to loop through windows using a win32 api call from a C# application. They even posted the sample code in full, so I was thinking you could reapply that into a windows app which launches on startup, uses a timer and every second or so uses this code to loop through...
I don't know if this will help, but maybe someone with more time than me can use this: I found the windows 32 api reference in MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/windows_api_reference.asp
If there's a way to do this, I think it will be in...
another option: just need to complete the translateNumber function and add your special messages in at the correct spots, like the example message I provided:
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick...
a code sample would help... are you using the Microsoft.Office.Interop.Excel libraries?
You might be turning off application.screenupdating, if so turn it back on when done? also you can try application.doevents
I don't think it's possible to render an Excel chart inside of a web page. You should investigate charting tools, like ComponentArt.com. If your charts are simple (like bar graphs) you could probably write your own rendering functionality easily using html tables and/or div/spans.
Also, Excel...
there are 2 ways off the top of my head that you could accomplish this: a Browser Helper Object like you mentioned, or a window-watcher type application. You could buy one of these apps and configure it to alert a message whenever IE opens... I have used a program called Automate, a very good...
I did a little research on this for my own project and haven't had much luck... the closest thing I found was to simply create a filestream object and to try to open the file with read / lock and if it fails catch the exception. Other things could cause a failure, like privilege access problems...
in your basVehicles module, you need to create the instance of the dataset there... so your code should read:
dim ds as DataSet
Set ds = basVehicles.getVehicles
then in your basVehicles module, it should read:
'... property declaration and previous code...
Get
if isnothing(mVehicles) then...
probably the problem is that the process that is running the SQL statement does not have write privileges to the .mdb. This will cause a 'syntax' error even though the syntax is fine. So first reco, make sure you know what user your process runs under, for example if it is an ASP.NET 1.1 web app...
In the ItemDataBound Event, change that to:
imgDelete.Attributes.Add("onClick", "return ConfirmDelete()")
and make sure ConfirmDelete() returns false. Returning false will stop the postback from happening and it has to be returned from the OnClick of the button
try moving your code into Page_PreRender instead of Page_Load. When Page_Load runs the client-side form data has not been processed yet so the values of your textboxes will be blank until after Page_Load is complete.
In your web.config add each page that you want anonymous access to following the convention below (these are in the root configuration element):
<!-- this file does not require authentication -->
<location path="GDSCounter.aspx">
<system.web>
<authorization>
<allow users="?" />...
The problem you will encounter is that the ID's will change based on the page hierarchy. One technique to keep your javascript working is to not put any names in your javascript. Use a variable name in you JS and then when ASP.NET writes controls that you want to access w/JS, register a script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.