all groups > asp.net > march 2008 > threads for thursday march 20
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
security context
Posted by bobsss at 3/20/2008 11:02:11 PM
I am building an add user website. I have several asp scripts in this
website such as, query for username, create user, etc. Ideally I would like
to have users logon to the website, and have these scripts execute with
their individual security context. Can anyone point me in the right
direct... more >>
script src error
Posted by Joe at 3/20/2008 7:32:38 PM
I have a script block in our page with the src set to something like this:
http://track.oursite.com/trackstat.aspx?siteName=MySite&pageName=index_html
The script seems to execute fine but IE shows a syntax error and FireFox
says invalid assignment left-hand side and points to the = in
pageNa... more >>
gridview control not showing selected row sytle sheet
Posted by Rafia Tapia at 3/20/2008 4:36:55 PM
Hi
I am selected a row of the gridview programmatically by executing the
following code
grid.selectedindex=e.row.rowindex (this code is written in the rowdatabound
event handler)
but when the grid does not show this row as been selected. When I select a
row from the UI, my style for the... more >>
When does control data binding occur in a life cycle of a page?
Posted by bogdan at 3/20/2008 3:54:45 PM
I need to execute some code _after_ page controls are bound to data (e.g.
DropDownList). I could probably handle DataBound events for each control.
But if I wanted to place the code in a page handler, where would I put it?
Does Page_Load() event is raised after or before control data binding ... more >>
Passing data
Posted by Paulo at 3/20/2008 3:19:11 PM
Hi, what are the forms of passing data from a web-form to another?
Because the response.redirect will call the web-form but the forms input,
hidden fields, etc on the source will be lost ..?
Only way is via Request.QueryString? Page.aspx?var1=&var2, etc.. ?
Can not be recovered via post m... more >>
HyperLink
Posted by Paulo at 3/20/2008 3:06:07 PM
Hi, I have a grid with a HyperLink and the hyperlink needs to link:
SomePage.aspx?ID=CodeID coming from some column on table on SQL Server, the
grid is already binded with the DB, but I dont know how to code the
hyperlink
What is the code on RowDataBound?
Can you help me?
Thanks!
A... more >>
DotNetNuke doesn't work
Posted by Igor at 3/20/2008 2:51:30 PM
I can not install DotNetNuke. I have SQL Server 2005 Express. When
instalation process testing database connection, I receive this message:
Message: An error has occurred while establishing a connection to the
server. When connecting to SQL Server 2005, this failure may be caused by
the fac... more >>
table border attribute
Posted by rodchar at 3/20/2008 2:32:02 PM
hey all,
is it possible to make the table border attribute dynamic? For example, is
there a way to make it where i can set it in a style sheet?
thanks,
rodchar... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Copy project to sharepoint services 3.0 IIS
Posted by Zamdrist at 3/20/2008 2:25:12 PM
I've copied a project from a non-sharepoint IIS server to a sharepoint
services 3.0 IIS server, in a virtual directory similar to how the
source project was layed out as.
When I copy it over it seems to copy fine until the end where it
complains about not being able to copy everything to the b... more >>
How do I insert data into an Adobe form?
Posted by S_K at 3/20/2008 1:59:39 PM
Hi,
I have a problem in which I have to insert data from an ASP.NET form
into an Adobe (.pdf) form. How can I do this?
Thanks.
Steve... more >>
Setting properties in design view
Posted by J at 3/20/2008 1:49:56 PM
How can I set the properties of a control in design view (in VS2005) when
the control is inside another control (e.g. a table or a gridview)? I can
only select the table but not the control inside of it. Further, inside
controls aren't listed in the Properties drop down list either.
Thanks... more >>
Nested controls and BLL question
Posted by Emrak at 3/20/2008 1:23:06 PM
Hi all,
I wish to display a Gridview with master data and associated child data
"underneath" each gridview row. The child data will be displayed using a
Repeater. There are plenty of examples of nested web controls online but they
all use what I call a ".NET 1.1" style of coding. In other wor... more >>
How to append DropDownList value to button's PostBackUrl?
Posted by rob at 3/20/2008 12:44:19 PM
Hi,
I have a button whose PostBackUrl should include a value from a dropdownlist
on the same page. Should I do that in the button's on click event? What
I'd like to end up with is a post back url that looks like the following:
PostBackUrl=somepage.aspx?param=<value> where <value> comes fro... more >>
print html rendered page from asp .net server
Posted by mygroup@vishalon.net at 3/20/2008 12:43:07 PM
Hello Folks,
I have an asp.net application which requires to fill a form. Once the
form is completed, it should print the final page on server side (not
the client side). I tried to use SHDocVw.InternetExplorer object. It
opens up the window but it is hidden(even if it I make visible
property t... more >>
Consuming Web Service on Shared Hosting Platform
Posted by Barrie Wilson at 3/20/2008 12:15:48 PM
I have a really simple test app which consumes two public web services (one
stock quote and one Amazon books collection); it works just fine when
posted on my local servers but when I publish it to either of my two public
servers (shared hosting accounts), I get the .ASPX page ok but when I... more >>
pasring SOAP exceptions
Posted by PJ6 at 3/20/2008 10:59:42 AM
I would like to distinguish between two classes of exceptions thrown from my
web service - one that is a standard exception that is not propogated to the
UI and indicates a problem, and one that contains an error message (such as
a validation failure) intended for the user.
Problem is, any ... more >>
Update based on SQ LDynamic Stored Proc Problem
Posted by Ed Dror at 3/20/2008 10:48:34 AM
Hi there,
I'm using Visual Studio 2005 with SQL Server 2005 ASP.NET 2.0 VB
I have a Catalog table and I created a form with textboxs and Submit button
to call stored procedure to updated existing records
My stored procedure looks like this (Dynamic Stored Procedure)
USE [Catalog]
GO
/***... more >>
Xml web control and request validation error
Posted by Aamir Ghanchi at 3/20/2008 9:26:20 AM
Hi,
I hope there is a solution for this other than lowering guard by
turning off ValidateRequest property of the page (or in webconfig)
On page load I move xml string value into an Xml web control's
DocumentContent property (not the XmlDataSource) and enableviewstate
to true. When the page ... more >>
Setting up ODBC Connection in web.config
Posted by Rocky20 at 3/20/2008 8:48:56 AM
I need to know how to setup and use an ODBC connection to SQL Server
through the web.config file.
I have done a connection using OLEDB but not with ODBC. Here's what I
have with the OLEDB.
Web.Config
<add key="connectionString" value="data source=Testdb1; initial
Catalog=Test; user=tester; ... more >>
Can AJAX UpdateProgress fire on a Response.Redirect?
Posted by Mike at 3/20/2008 8:26:09 AM
Hi. Is it possible to display an UpdateProgress control when an event
calling Response.Redirect is executed? I have a simple webform with an
ImageButton and an UpdateProgress control. My ImageButton's click event
contains the following code:
Response.Redirect("ProductCatalog.aspx")
T... more >>
adding days to start date
Posted by Paul at 3/20/2008 8:18:05 AM
Hi, I have a web application that I need to add 3 days to the Now day, but
need to make sure that I skip weekends and holidays. For example if Now is
friday, 3 days + now should be tuesday, counting the current day as the first
day. Now would never occure on a weekend or holiday. Anyhow jus... more >>
Export GridView to Excel, Encoding problem
Posted by Asaf at 3/20/2008 7:21:04 AM
Hello,
When trying to export GridView to Excel using windows-1255 encoding for
Hebrew from ASP.NET version 2.0, sometimes the report is in Gibberish and
sometimes it is ok.
When it is not ok and I am saving the xls file to HTML and I can see that it
is using windows-1254 encoding instead... more >>
Using Profile for session state
Posted by milop at 3/20/2008 7:17:30 AM
Hello.
Not wanting to have to cast every object that needs to be stored in session
state, I am thinking of using Profiles introduced with ASP.Net 2.0.
All of my objects are serializable so that's not an issue.
My main concern is persistence: I don't need to persist this information
beyo... more >>
Not able to run the asp.net from IIS server?
Posted by Manish at 3/20/2008 7:16:00 AM
Hi friends iam using IIS server to run my asp.net program. I can
compile and run from the asp.net tool and also i can connect with sql
server. when i try to run from the IIS server i was not able to
connect with sql server and I am getting error as page cannot be
display. but i can run the stati... more >>
Developer Environment Setup Opinions // Seeking your opinion
Posted by granadaCoder at 3/20/2008 5:55:38 AM
I was having a discussion with a colleague earlier today about the
development environment.
I am seeking opinions, and to avoid slanting the input one way or the other,
I am not even going to label which opinion I hold.
The question on the table is about the database location for the DEV... more >>
Ajax and PageRequestManagerServerErrorException
Posted by Chris Zopers at 3/20/2008 4:23:11 AM
Hello,
I have an asp:UpdatePanel with some controls in it.
The UpdatePanel has a Timer as a trigger and a button inside the
UpdatePanel as a trigger.
All works fine, but sometimes I get the following error:
Sys.WebForms.PageRequestManagerServerErrorException: an unknown error
occurred w... more >>
Passing arguments to a user control
Posted by AlBruAn at 3/20/2008 3:45:02 AM
I have a user control that gets displayed via an AJAX modalpopupextender.
This control consists essentially of a text box, a label, three pushbuttons,
and some panels. If it's desired to have it display a db record, it will
retrieve it, populate the label with its value and set the label and... more >>
|