all groups > asp.net > august 2006 > threads for tuesday august 8
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
ASPX, VBScript, JavaScript, Double-Underscored Variables and setTimeOut
Posted by Shadow Lynx at 8/8/2006 10:22:59 PM
That subject packs a whallop, so let me explain in better detail what's
happening and how it relates to ASPX pages...
In a [large] nutshell, if the first <script /> on a page is of type
"text/vbscript", you cannot use inline JavaScript statements that call
setTimeout with functions that start ... more >>
Various questions about interacting PHP and ASP
Posted by David Thole at 8/8/2006 9:58:17 PM
Hey all,
So far my reading is proving to be very interesting and good. This
book is very helpful, and I'm generally left with quite a few questions
about how I'm going to do stuff with my current setup. Basically
speaking, all my stuff is currently in PHP. I need the ability for
being ... more >>
Logical Error
Posted by Eric at 8/8/2006 9:10:22 PM
My program works fine accept that when the pattern contains information
more than one line it shows only the first line. For example if you
look into Summary the information is in more than 1 line but it shows
only the first line needs help
i=0
j=0
dim alldata(99999,30)
Function EnumerateFo... more >>
CType?
Posted by Arpan at 8/8/2006 8:12:16 PM
The syntax of the function CType, as stated in the .NET 2 SDK
Documentation, is
CType(expression, typename)
The Documentation also states that
CType is compiled inline which means that the conversion code is part
of the code that evaluates the expression.
Can someone please explain me ... more >>
calculating control width
Posted by Jeff at 8/8/2006 7:22:05 PM
Hey
asp.net 2.0
I'm trying to calculate the width of the HyperLink control (see my code
below). But all I get is the value 0.0
PlaceHolder placeholder =
(PlaceHolder)myProfile.FindControl("PlaceHolder1");
double Rwidth = 0;
hyperlink = new HyperLink();
hyperlink.Text = "helloworld1... more >>
OnItemCreated?
Posted by Arpan at 8/8/2006 7:19:50 PM
Consider the following code which populates a DataGrid with the items
of a string array:
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
If (ViewState("Colors") Is Nothing) Then
arrColors = New String(3) {"red", "blue", "pink", "white"}
ViewState("Colors") = arrC... more >>
Change header info in Master Page (2.0)
Posted by sck10 at 8/8/2006 6:20:01 PM
Hello,
I have the following in my Master Page that I am using as a redirect
template:
<head id="headRedirect" runat="server">
<meta id="metaRedirect" http-equiv="Refresh" content="2;
URL=http://www.mysite.com/" />
<title>Page Redirect</title>
</head>
My question is how can I chan... more >>
newbie obfuscating issue
Posted by Tina at 8/8/2006 5:54:07 PM
I'm trying to do my first obfuscation because I want to distribute an ascx
control along with an obfuscated dll. I'm using the obfuscator that comes
with vs.net and registered the community edition and went to the Yahoo forum
and found that there have been no messages since May. I guess this... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
[Javascript] problem with ResponseXml.
Posted by KaNos at 8/8/2006 5:18:14 PM
Hello aspx world,
I consume a webservice with Javascript functions.
But the response is ok and, very strange, document is null.
How to resolve this problem thanks ??????
xmlHttpRequest.open("POST", myAddressLocation, false);
xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; chars... more >>
Newbie q - from developer to live
Posted by Peter Morris at 8/8/2006 5:13:12 PM
Okay, this is a really basic question, but I'm a newbie.
Im using MS Visual Web Developer 2005 Express
I've created a web site with a few pages that runs
from Developer.
Now, how do I make it go live? How do I make
it into a web application that runs independently,
which I can then upload ... more >>
MsgBox in ASP.NET?
Posted by Arpan at 8/8/2006 4:50:08 PM
I use VB.NET to create ASP.NET applications. To display a message box
in a VB app, one can use MsgBox. But when I used MsgBox while editing
an ASPX page, the following error was generated:
System.InvalidOperationException: Showing a modal dialog box or form
when the application is not running ... more >>
DataFormatString="${0:C2}"
Posted by David Lozzi at 8/8/2006 4:49:33 PM
Howdy,
In my GridView i have some bound columns displaying currency. I have
DataFormatString="${0:C2}" in one of the columns but the value being
displayed is $35 . If the price has cents, then it will display the cents,
like $35.3 or $35.55, but where there's no cents, it just displays $35.... more >>
How Do I Limit Concurrent Requests To A WebService?
Posted by TroutyJoe at 8/8/2006 4:37:24 PM
Hi all,
For performance reasons, I would like to restrict concurrent request to
a WebService that I provide, so that only a single request to a
WebService can run at any time, with all other requests going into the
request queue.
I have tried editing thread settings in the machine.config e.... more >>
Stopping an asynchronous task
Posted by Andrei at 8/8/2006 2:59:09 PM
Hi Group,
Our asp.net application starts some tasks (processing data and generating
reports) asynchronously.
These tasks could take 10-20 min to complete.
It happened a few times that once the clients started the task, they
realised they picked the wrong parameters and they wanted to cancel... more >>
GridView RowCommand event not firing!!
Posted by Kevin Attard at 8/8/2006 2:58:27 PM
I am using a GridView inside a UserControl which has a template column for
deleting the rows. Before databinding the gridview i am attaching the
RowCommand and RowDataBound event.
I am using the RowDataBound event to set the commandargument of the delete
button. The event is being fired and... more >>
Search text
Posted by Eric at 8/8/2006 2:52:00 PM
I try to search pattern using RegExp method but it wont work. Data
contain emails which i save it into a textfile and want to read the
contents of email (Date, Customer Name, Street, Subject etc etc). Date,
Customer Name etc they all are in large braket and on the next line
their description is ... more >>
Difference between DOCTYPE HTML 4.01 and XHTML 1.0
Posted by Tatyana at 8/8/2006 2:41:43 PM
Hello,
I was wondering if anybody can help to distinguish the difference (for
ASP.NET pages) between
I've got JavaScript Menu which I have to plug-in to the master page.
Everything works fine except ALL Borders on the buttom and on the left side.
So I was trying to see what makes ... more >>
Synchronous Form Field Validation with AJAX/Atlas?
Posted by AECL_DEV at 8/8/2006 1:05:02 PM
Hello Everyone,
Ive seen alot of people saying that the best way to AJAX Validate a form is
through the submit button, because validation should be synchronous. Im
wondering, is there any good way to validate a form field by field like AJAX
would do, but to keep it synchronous? i.e. one ac... more >>
Preprocessor directives must appear as the first non-whitespace character on a line
Posted by IndyChris at 8/8/2006 12:54:30 PM
I'm getting
Preprocessor directives must appear as the first non-whitespace
character on a line
with
<asp:Button OnClick="GenerateEmail" ID="btnGenerate" Runat="server"
CommandArgument='<%#DataBinder.Eval(Container.DataItem,"sakEvent")%>&<%#DataBinder.Eval(Container.DataItem,"sakConfirmation")%... more >>
A little problem with Forms authentication :-(
Posted by Simon Harvey at 8/8/2006 12:53:49 PM
Hi All,
I'm hoping somebody could help me with the following problem.
I'm using forms authentication and the user is getting authenticated no
problem. Once authenticated the user can look at all the appropriate
pages and so on.
When the user is inactive for a set period of time, I want ... more >>
Where is code generated by VS for Gridview
Posted by walanta at 8/8/2006 12:19:58 PM
Hi,
I use VS2005 to generate Gridview in aspx file.
But when I source aspx file and cs file. I don't see the lines.
I would like to modify code base on the code generated for me...
Can you help . Thanks... more >>
no way to disable header & footer (print) in IE??
Posted by matt NO[at]SPAM mailinator.com at 8/8/2006 12:05:51 PM
hello,
i am developing an intranet application that does some printing, and i
would REALLY like to be able to instruct pages rendered in IE (6) NOT
to display default Header & Footer tags on the hard copies.
i know users can disable them manually per print job, but that really
isnt a very g... more >>
How to chagne the mandatory type when automatcially generating WSDL in .net 1.1?
Posted by Fan at 8/8/2006 12:01:55 PM
Hi, everyone
When I first set up a web service in .Net 1.1, seems .Net will
automatically build the WSDL file. And the element type of each field
in input and output has been automatically created. How can I change
some fields from mandatory to optional from the code, instead of
manually mod... more >>
System.Security.SecurityException: Permission denied Error while invoking methods in a Component
Posted by stephen at 8/8/2006 11:10:56 AM
Hi,
I am getting an error while trying to create an excel file.
"Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
l... more >>
Mixed ASP and ASP.NET Site Session Timeout
Posted by Maspr at 8/8/2006 10:55:02 AM
I am trying to build a mixed site of ASP and ASP.NET. I am having trouble
keeping the ASP session from timing out when using just the ASP.NET pages.
The ASP.NET pages has a Master Page with an iFrame that loads an ASP page,
however this is not keeping ASP from timing out. Does anyone know how ... more >>
get textbox.ClientID in a usercontrol
Posted by davidr NO[at]SPAM sharpesoft.com at 8/8/2006 10:12:42 AM
Hi,
I've researched this a lot and have a well understanding but still
can't get the darn textbox in the javascript.
I have a textbox that is set to runat="server" and I have a client
function for a comboBox when selectitemindexchanged happens it will
trigger. I know it goes into that beca... more >>
Where to post ASP Classic Questions
Posted by Jordan S. at 8/8/2006 9:42:04 AM
Where can I post questions for ASP classic?
Thanks!
... more >>
Urgent!, download attachment corruption.
Posted by Ibrahim. at 8/8/2006 8:03:01 AM
Hi,
When i download PDF document from asp.net page, it downloads but does not
open. Message shown is "file is damaged". The file opens when opened directly
from the folder.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim myFileI... more >>
focus on control after an error
Posted by saurabh at 8/8/2006 7:54:00 AM
Hey,
I have a form in which there are say 10 fields. I am using validator
control for all the fields. suppose user forgets to fill field no. 5, 8
, 9 and 10.
So on clicking the save button,obviously an error willl be raised. Is
there anyway such that when the error is raised the focus goes to
... more >>
timeout for sqldatasource
Posted by Mike P at 8/8/2006 7:42:08 AM
How do you set a timeout for a SqlDataSource control?
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Add a row to datatable
Posted by Patrick F at 8/8/2006 7:23:02 AM
Hi, i got a datatable from the database with alot of ID numbers (thats the
only thing in the datatable).
Now i want to make a row and add another number to that row and insert it
into the datatable at x position.
like:
sql = "select id from mytable";
myadap.commandtext = sql;
myadap.fi... more >>
DataSource and FormView questions
Posted by Kelly at 8/8/2006 7:13:08 AM
I'm fairly new to ASP.NET2, but I have an ASP 3.0 background, and I've been
experimenting with the DataSource and FormView widgets. I wound up having
some questions along the way which I hope you all can address to help me
understand events with these better.
I've been reading up on inserte... more >>
Gridview add column dynamically on button press
Posted by bryan at 8/8/2006 7:10:23 AM
Hi all,
I am working on a .net 2.0 web app.
On page load I display a gridview with a drop down list (Employees),
when the user selects from the drop down list, the grid view is filled
with the dates the employees are working.
I then want to push a button that adds a new column to the grid... more >>
q; SMS application
Posted by JIM.H. at 8/8/2006 6:21:28 AM
Is there any application asp.net c# that I can embed to my web application to
send SMS from my web site?
... more >>
web.config appSettings Store value with & character
Posted by Max at 8/8/2006 6:20:12 AM
hi
i have stored my connction string in web.config as we do usually. code
of web.confing is given below.
check the password field contain "&" character. now when i run my
application it gives error because value of ConnectionString is breaked
at "&".
So how to store value in web.config t... more >>
Problems with Windows Control Library inside Internet Explorer
Posted by usenet NO[at]SPAM tynemarch.co.uk at 8/8/2006 5:59:59 AM
I have written a Control Library in VS2005 (VB.NET) and am trying to
use it inside Internet Explorer. I have copied to DLL to the same
folder as the web pages. I have tried the control in an HTML file, but
the same code in an ASPX script does not work. Also if I recompile the
DLL it seems to sto... more >>
Filtering Dataview [Strange Problem]
Posted by Anup Daware at 8/8/2006 4:21:09 AM
Abstract: I want to filter a dataview with a value where column name
have a SPACE.
Description:-
I bind a dataview to a datagrid,
The query which is fetching the results in Dataset is something like
this:-
Select POSTAL_ADDRESS as "Postal Address" from Emp where ....
Now the column name in Da... more >>
Paul's Glavich Dom Validator Controls problem
Posted by Maciek at 8/8/2006 3:04:06 AM
Hi all,
I'm desinging a web page and I'm novice in this matters, so I need your
help.
I need to validate if checkbox is checked and to show an alert if it
isn't. So I've added two Paul's Glavich Dom Validator Controls:
CustomDomValidator and DomValidationSummary. The first validator has
Disp... more >>
Sql server dose not exist or access denied
Posted by jdubey at 8/8/2006 2:19:04 AM
Hi:
i have one asp.net application.From this application i am connecting to sql
sever on domain.Earlier it was connecting.After i reinstalled the sql sever
and try to open the connection ,it is giving error
Sql server dose not exist or access denied.
From query analyzer i am getting connectio... more >>
Request Form variables
Posted by Jon at 8/8/2006 2:17:47 AM
Hello all,
In my app, I'm opening up another window and doing a redirect to another
app. Within this app, I need to do a Request.Form["variable"] in order to
retrieve a variable from app1.
Can this be done? If so, could anyone help?
Thank You?
JY
... more >>
Safe detect url change
Posted by Dst at 8/8/2006 1:17:26 AM
This is what i'm trying to do:
I'm porting a windows app to a web app.
I have a webform which will edit some data stored in a database.
The data needs to be locked in the database, while editing.
On first page load:
Create a custom rowlock object and store it in viewstate.
When user clicks... more >>
Passing a value to another page
Posted by Kausar at 8/8/2006 12:00:00 AM
Hello All,
How do i pass the value from a page that exists on some domain to
another page that exists in subdomain.
Regards
Kausar
... more >>
How enter multi lines text in desgin time
Posted by ad at 8/8/2006 12:00:00 AM
I have set a TextBox to MultiLines and set the rows to 10.
I assigned the Text of the TextBox some lins of text at desgin time,
but only the first line remain in the TextBox.
How can I assign some lines of text at desgin time?
... more >>
Problem With Custom Validation In a Details View
Posted by Microsoft News Group at 8/8/2006 12:00:00 AM
I am trying to validate two textboxes as their values are the same, or both
are null do not insert the data. I do not just want one to try to be null,
I want both of them, so the requirevalidator will not work because I want
both to be null or equal. I am assuming using the Custom Validator.... more >>
.Net 2.0: Programmatic Container selection
Posted by Graham at 8/8/2006 12:00:00 AM
Hi,
I am trying to write a custom email form control that doesn't require
programming experiance in order to implement (for our html guys). I have a
base design that I would like to use for the markup but I am having trouble
getting it working.
<ec:intelleform runat="server" id="intellefor... more >>
|