I have a simple JavaScript that is causing me headaches.
Here is the code
<script language="javascript" type="text/javascript">
function RunProg(CommandLine)
{
var ws = new ActiveXObject("WScript.Shell");
ws.run(CommandLine,1,false);
return;
}...
I have found an odd behavior from Validators and maskededitvalidators.
what I startted with is views and one view in particular had validators on it to test ffor dates within a text box and empty is valid.
However as I switched views I was getting the message error on page. I started with the...
I would like to get some feedback about using masterpages on my website.
One thing I have noticed is that it takes a lot longer to build the website with the masterpage design in one of my projects.
Questions I have is:
Should I change all my projects to use master pages?
Will masterpages slow...
What I have is a datagrid within a panel, in a css file i had the headers and footers locked at the top and bottom of the panel. Now however the datagrid header doesn't lock anymore I am hoping someone here will have some suggestions
<style type="text/css" media="all">@import url...
I have a gridview in a table so that the user only has to scroll down within the smaller window and not go down a long page.
I have used this with datagrids many times and now I have converted to a gridview this issue is popping up.
Below is the HTLM for the table and the gridview.
What I would...
Ihave the below code to export to excel which I got from other posts.
However my output to excel only shows the tags and not just the data.
Any help would be appreciated.
Here is my output from excel:
<form name="_ctl5" method="post" action="DatabaseList.aspx" id="_ctl5">
<input type="hidden"...
I have a datagrid that I am sorting then the user can select records to update. However after a sort and I try to select a record IT throws an error, like the data wasn't refreshed but I thought I was doing that in my code.
Below is the code for the sort.
Thanks for all your help in advance...
Hi all,
What I have is a web page with a javascript generated menu (i have to use javascript because menu creates dynamic windows on the fly).
I also have a datagrid that I am allowing the user to do sorting on. Here is my issue when I sort the datagrid the menu bar disappears. When I hit the...
Hi all,
I have a datagrid that works great the only problem I have is when a user selects the row to alter the contents with the select button.
What happens now is I set a certain cell.text = "" withthis code.
dgEquip.Items(dgEquip.EditItemIndex).Cells(5).Text = ""
when I do that the textbox...
I see a lot of posts in here that reference converting the columns in a datagrid to templates.
So I have a couple of questions:
1) what is the benefit to using the template column over the default column layout?
2) do the template columns react to data the same as the default column setup?
3)...
i keep getting the error below in the ASP .Net forum I got a response that it is an access issue I was hoping someone in here could help me with fixing access to accept my update. Thanks
Operation must use an updateable query.
Description: An unhandled exception occurred during the execution...
i keep getting the error below
Operation must use an updateable query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details...
I am new to ASP.Net and I am trying to figure out why the edit event won't fire for me.
I have a datagrid on a page and I want the user to be able to edit some of the fields. so I have an edit button and in the cod e I have an edit event sub and I have it declared in my html also.
here is my...
I am new to .NET so this is probably a stupid question but here it is.
I am working with .NET 2002 and I am just trying to do some simple things with the tool basically putting buttons labels and text boxes on a form and trying to learn the ASP stuff.
However when I hit the build and Browse in...
seems really dumb as I do it in other parts of my code but I have this class that is to query a database and put some data into a table for it and then just update the table. I have established all the database connections because it worked once and won't work anymore.
Can anyone see what I am...
I am trying to use the .movefile to move multiple files from one directory to another and I am getting the error file not found. I have checked and all the files are there.
Set fso2 = New Scripting.FileSystemObject
tempdate = Format(Date, "yyyymmdd")
fso2.MoveFile "C:\temptest\" & tempdate &...
I have a programming written in VB .NET 2002 and running on win XP.
I was noticing today that while the program is running the windows clipboard copy icon is showing up and disappearing in the tray. I was wondering why that is happening because in my code I never copy anything to the clipboard...
I searched the foruma and was unable tofind an answer to my problem. When i tryto cahnge themonth of theDatetimepicker it fires the valuechanged code below, then gets stuck in a loop for the valuechanged and keeps bringing up my messagebox. Is there a way to test if only the arrows at thetop...
This is sort of an expansion on the issue I was haveing with the timer. I got the timer to work now I have an issue if the form isn't in focus (say the screensaver kicked on or you bring up another program or something) then the code crashes.
When the timer expires it calls this sub
Shared...
I am having a problem with setting up a timer seems stupid I know.
I have the timer in the form called timer1 (real intuitive I know)
Anyway here is what I have been trying to do. I want the timer to refresh my form say every 5 seconds or so. so I have coded in the timer event:
Private Sub...
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.