all groups > asp.net > august 2007 > threads for tuesday august 28
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
master pages and css
Posted by Sir Psycho at 8/28/2007 11:55:09 PM
Hello
I understand how master pages work with containers.
How would i go about having a stylesheet for one of my containers in a
different aspx file considering that the <head> element is in the
master file? Putting it in the master file means it will be included
for all.
once using mast... more >>
framework problem
Posted by kumar at 8/28/2007 9:34:41 PM
in my system .net framework 1.0 and 2 were installed. when i access my application through ip address result in "object excepted" java script error . the application developed in framework 1.. for 2 its working fine.........
From http://www.developmentnow.com/g/8_2005_7_22_0_0/dotnet-framework-aspn... more >>
DataField not member of 'System.Web.UI.WebControls.DataGridColumn'
Posted by tshad at 8/28/2007 8:12:22 PM
I am getting this error trying to dynamically added a column to my DataGrid.
I have the following code:
Function CreateBoundColumn(c as DataColumn) as DataGridColumn
Dim column as DataGridColumn = new BoundColumn()
column.DataField = c.ColumnName <--... more >>
ASP.NET and JavaScript
Posted by Lit at 8/28/2007 7:06:42 PM
Hi,
Can anyone direct me to a hyperActive JavaScript NewsGroup(s).
I am feeling stupid today.
if I have the ClientID then why do I need the
document.getElementById(<myClientID>)??
Can't I just use it?
is it expensive to use document.getElementById
Is there an inexpensive way o... more >>
RegisterStartupScript doesn't work in a aspx page containing a frameset
Posted by BillE at 8/28/2007 7:01:58 PM
I have an aspx page which contains a frameset.
I want to set the location.href of the frames dynamically using javascript
created in the Page_Load of the frameset using RegisterStartupScript, but
the registered script doesn't appear to run. Is there some reason why
RegisterStartupScript wo... more >>
Retain values between postbacks???
Posted by John at 8/28/2007 5:42:03 PM
I have a MyUser class containing user profiles. Everytime after postback, I
have to reload (access the database) again. Is there any way I can easily
save those data between postbacks? Thanks.
public partial class Login : System.Web.UI.Page
{
MyUser m_MyUser = new MyUser();
...
... more >>
I think UltraWebGrid is a crap
Posted by gnewsgroup NO[at]SPAM gmail.com at 8/28/2007 5:24:49 PM
They don't like what I say, but that's what I feel.
Once you have a template column, you get stuck. U have no way of
finding the control in your code-behind.
Suppose you place a button in a template column, then you can find the
button with the CommandSource property of
UltraWebGridCommandE... more >>
Anyone doing ASP.NET on your mac?
Posted by VB Programmer at 8/28/2007 5:18:01 PM
I am an ASP.NET (VB.NET) web developer, using MS Visual Studio.
I'm thinking of switching over to MAC.
I was wondering if anyone is using Visual Studio 2005 or 2008 beta in a XP
or Vista environment on their Mac?
If so, any wierd issues, or does it run smoothly (even with Mac OS running)?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Customize Error Message
Posted by Alex at 8/28/2007 4:37:40 PM
Hello,
When an error occurs, is it possible to customize the message abit? For
example, currently after Source Error and Stack Trace it shows Version
Information, but can I add the Machine IP Address and Currently Logged In
Username to this as well? Possibly even the Server IP? This woul... more >>
How to validate that at least one text box has input
Posted by Homer at 8/28/2007 4:24:56 PM
Hi,
I've created a page that allows employee to change their personnel
information, like name, marital status, address, etc. When the user
clicks the Send button to send the change requests via email to HR, I
want to make sure that at least one of the text boxes has input. For
example, a us... more >>
request.querystring
Posted by Luke Davis at 8/28/2007 4:21:47 PM
I just started with Visual Web Developer, and see if you can help me out
with this. I want to generate a gridview from a table in a database and
each of the rows will be linked to the same page with the exception that the
URL has a variable in it. I know how to retrieve the variable in ASP... more >>
Pagemethods with AJAX
Posted by George Ter-Saakov at 8/28/2007 3:59:26 PM
People, I am going crazy already
I have a page default.aspx where i am using Page Methods. Evetrything works
fine.
Now i want to create second page default2.aspx. in the same project/same
folder.
It gives me a JavaScript error PageMethods not defined.
I copied (CNTRL+A, CNTRL+C, CNTRL+A,... more >>
How can I gatherinformation from a dynamically created user contro
Posted by Ethan Strauss at 8/28/2007 2:36:01 PM
I have a user control which holds information about a single well of a 96
well plate (http://en.wikipedia.org/wiki/Microtiter_plate) . The user control
has a couple of input fields which users can set to specify what is in that
particular well. Since I want 96 of them displayed on the page, I ... more >>
Capturing a Client Cert and Passing it to a Secure Web Service
Posted by hepsubah at 8/28/2007 1:38:38 PM
I'm trying to capture a client cert in my ASP.NET application, and use
that cert as the client cert for a call to secure web service.
I've used the following code, but am getting a 403 error on the
invocation of the service. All the service is supposed to do is
return the subject of the passe... more >>
Send GridView content to another page
Posted by Mic at 8/28/2007 1:20:53 PM
Hi,
I have a GridView control that gets populated at runtime and I need to
print its content. The simplest way I found was to use window.print()
but this prints everything on the page.
But if I can send the GridView content (or copy the GridView) to
another page, I then can use window.print... more >>
Regular Expression question
Posted by Brian Simmons at 8/28/2007 1:01:06 PM
Hi All,
I've got a textbox where I want to make sure the person has entered at least
3 characters before submitting (it's like a partial name lookup type of
query), so I don't want them to just enter "a" or "e" in the box and bring
back everyone with an "a" or "e" in their name.
I figure... more >>
trying to access the row.databound
Posted by WebBuilder451 at 8/28/2007 12:24:02 PM
this fires from a gridview and this type of construction works ok in vb.net
but i keep getting:
CS0021: Cannot apply indexing with [] to an expression of type 'object' if i
use ]
and: CS0118: 'System.Web.UI.WebControls.GridViewRow.DataItem' is a
'property' but is used like a 'method' when ... more >>
CopyTo not working for DataGrid
Posted by tshad at 8/28/2007 10:54:31 AM
I am having a real problem getting some of these methods to work.
I am trying to do a CopyTo and I can't get it to copy into my array.
I tried:
Sub ReorderDataGrid()
Dim theArray(1) as DataGridColumn
DataGrid1.Columns.CopyTo(theArray,0)
End Sub
And I get this:
System.IndexOut... more >>
ActiveX Control on Web Page
Posted by Jonathan Wood at 8/28/2007 9:48:53 AM
Does anyone have any thoughts about placing an ActiveX control on an ASP.NET
Web page?
Can this be done? Is it a pain?
Does anyone know of anywhere I could read about doing this?
Thanks.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
... more >>
Need some architectural advice for designing a provider
Posted by DC at 8/28/2007 9:41:37 AM
Hi,
I have designed some data objects that I want to be filled by several
providers.
Do these objects typically belong into a seperate project (plus each
provider is a separate project)?
The providers do require a number of XML and XSLT files. I guess these
belong into the webproject so ... more >>
Page lifecycle, specific events question.
Posted by at 8/28/2007 9:31:11 AM
I have a page that inherits from a base page that is currently
overriding all of the On* events. For the most part I'm accomplishing
everything I set out to do with the inheritance, but I wanted to get a
little more information to lock down what I think I know and also to
answer a couple little... more >>
Help For Newbie Please
Posted by at 8/28/2007 9:18:42 AM
I know I am missing something simple. Can someone help me identify
it? I am getting the following error:
*****************Error*********************************************
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this r... more >>
Invalid postback or callback argument
Posted by Ghistos at 8/28/2007 9:06:00 AM
Another boring question but... canno't find any good answer
I created a user control with a DropDownList inside.
It is loaded in the page_Load event if not postback.
Then, just to verify it, I put it on a aspx page with a label and button.
When I click on the button, all I want is to put... more >>
unable to connect to sql db
Posted by Steve at 8/28/2007 8:47:57 AM
I moved my database from one server to another SQL server. I did a =
backup and restore of the database. I can connect to the database on =
server A from my asp.net app but when I try to connect to my database =
server B, I'm gettting 'login failed for user 'username'
I've added the username t... more >>
CompositeControl Inheritance
Posted by Eric at 8/28/2007 8:17:35 AM
I've created a control that inherits from CompositeControl. I want to use
this control as a base for other composite controls to inherit from. The
problem is that any controls that inherit from this one can't override any
composite control methods such as CreateChildControls.
Ideas?
Tha... more >>
decrypt decrypted string using convert.frombase64string()
Posted by Steve at 8/28/2007 8:16:00 AM
I took over a web app that the developer encrypted the connection =
string. The connection string looks something like this =
[mchckjkfiekifjfyhg} (example), he is reading the string as
string con =3D =
ASCII.GetString(Convert.FromBase64String(ConfigurationManager.AppSettings=
["connection"])... more >>
aspnet_wp processes memory usage
Posted by aepuras at 8/28/2007 6:58:32 AM
Hi all,
We are using a machine with win 2000 server and IIS 5.
It hosts some ASP, ASP.NET 1.1 and ASP.NET 2.0 applications.
The aspnet_wp processes memory usage builds up untill we are getting
out of memory system errors.
We need to kill both aspnet_wp processes a few times a day in order ... more >>
Html file control with multiple file selection
Posted by Prashant at 8/28/2007 6:25:41 AM
Hi All,
we are using <input id="testFile" runat="server" type="file" />
control to select file from local machine. A problem with this control
is at a time we can select only single file from 'Choose file'
window.
Here we need multiple file selection option from 'Choose file' window
in ... more >>
Server.Transfer from custom HTTP handler?
Posted by henke.lundin NO[at]SPAM gmail.com at 8/28/2007 6:02:50 AM
Hello,
I am having problems with Server.Transfer(string, bool) in the
ProcessRequest method of a custom HTTP handler. I get the "Error
executing child request" error message. The page that I am trying to
transfer to is mapped to the same custom handler.
Does anyone know why this occurs? Doe... more >>
Problem using Master & Content pages with Calendar pop-up
Posted by jediknight at 8/28/2007 3:46:26 AM
I have a simple project where there is a master page called
MasterPage.master and some webforms which are content pages. I also
have a usercontrol which is a simple calendar control popup.
The folder structure is as follows:
Test Folder
Test.aspx (normal webform)
Test2.aspx (c... more >>
Problem with Upload Error handling
Posted by Holysmoke at 8/28/2007 1:36:14 AM
Problem with Upload Error handling
When the user uploads the file greater than the length specified in
web.config/machine.config, I always see the DNS Error page eventhough I have
handled the error Page_Error Event.
And this is my code in Page_Error event,
Private Sub Page_Error(B... more >>
Dispalying data in a cell in gridview
Posted by Mike at 8/28/2007 12:48:02 AM
Hi,
I've bind a grdiview to a database and it's working fine. but what I want
to do is if the data in certain cell exceed the cell width the that cell will
only show the words with some dots implying to the user that is more data
that should be seen.
meaning that if the data to be shown in ... more >>
DirectorySearcher
Posted by Lamis at 8/28/2007 12:22:03 AM
Hi,
I have this code sample in my window application project :
DirectorySearcher mySearcher = new DirectorySearcher("(CN=WMLIN2)");
foreach( SearchResult resEnt in mySearcher.FindAll()) and it works
perfectly, it connecst to the domain and FindAll() function excutes perfectly
without any tro... more >>
|