all groups > asp.net > july 2007 > threads for thursday july 12
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
Designer Support: How to have user control's properties appear in IDE's properties window?
Posted by Max2006 at 7/12/2007 11:58:17 PM
Hi,
I have a user control with a public property like this:
public string Text
{
get { return cboCountry.Text; }
set { cboCountry.Text = value; }
}
How can I have my user control's Text property appear in IDE's properties
window?
Any help would be appreciated,
Max
... more >>
IIS sends empty .CSS file
Posted by BGU at 7/12/2007 11:44:41 PM
Hello,
I have a bizarre problem where cascading style sheets are not being
applied. After a while, I whittled the repro steps down to the
following:
1. Create Web site in Visual Studio.
2. Enter the Designer for Default.aspx.
3. Type in some text.
4. Add a style sheet to the project.... more >>
Single sign-on based on Active Directory
Posted by Froefel at 7/12/2007 11:34:04 PM
Hi group
I am new to ASP.NET and I'm having trouble understanding how to
implement a logon mechanism based on Active Directory.
Here's what I want to achieve:
The application is an Intranet application and will be used by both
Macintosh and Windows users. The Windows users are all authenticat... more >>
Pop up problem
Posted by at 7/12/2007 10:42:07 PM
Hi,
In my website i have a report page where sql query are being
executed.The results are shown in a popup.The problem is that when I
try to have two browser instances running at the same time,
I cannot see the output of two reports at the same time.
With the results coming up in the popup ... more >>
Export to Excel Problem
Posted by at 7/12/2007 10:36:07 PM
Hi,
I have a problem with excel 2007. I have gridview where a report
result is being shown when the report are exported it is saved in an
excel file. In excel 2003 it is working fine .But in Excel seems like
Export to Excel is broken. May just be an Excel 2007 issue.
Please give me a suje... more >>
Installing framework for the first time
Posted by Gandalf at 7/12/2007 10:34:02 PM
Hi,
I downloaded the framework from microsoft website and installed IIS
server from the windows CD and when I trying to surf my host, my
browser ask me for user name and password. does anyone know which user
name and password should I give him
thanks
... more >>
Pass VB Variable to ASP Control Property
Posted by Robert Bevington at 7/12/2007 9:42:54 PM
Hi everyone,
this must be easy, but I can't get it right.
How do I pass the VBvariable created at page_load to the property of a
web control:
.....
<asp:DropDownList ID="cbo1" runat="server" DataSourceID="SqlDataSource1"
DataTextField="<%=VBVariable%>"
.....
What is the... more >>
.NET Web Developers
Posted by mumbles at 7/12/2007 9:26:42 PM
..Net Web Developer
Contract through 12/31/2007
Work schedule is 4/10's Tuesday through Friday
Work location will be our Palo Verde Nuclear Generating Station,
Tonapah (50 mi. West of Phoenix)
We need two WEB developers for our Palo Verde Information Services
Group
W-2 or Salary ONLY. no... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Debugging asp.net is grayed
Posted by Y.A at 7/12/2007 8:18:30 PM
I am using Visual Studio 2002.
Suddenly, one of my web projects does not stops on breakpoints on debug.
I noticed that when going to project properties under debugging, the
"Debugging asp.net" check box is grayed.
How can I solve that ?
Thanks
ra294
... more >>
Check/uncheck checkboxes from javascript
Posted by Dilip at 7/12/2007 7:11:53 PM
I am writing a WebControl that uses the status of a master check box
to determine if other dependent check boxes need to be checked/
unchecked. What is the best way to do it? I am not much of a web
programmer so apologies for the basic question.
Currently the way I see it being done is to ... more >>
Please forgive my ignorance, but I've never worked with ASP.NET before
Posted by Brent White at 7/12/2007 6:57:39 PM
We're trying out Visual Studio 2005 Professional from the Microsoft
website before paying for the unlocked version.
What I am trying to do is build on the simple ASP.NET web service.
HelloWorld is great, and I kind of see how it works.
What I can not comprehend is how to build an actual ASP ... more >>
Session ending without any warning!
Posted by Arti at 7/12/2007 4:30:47 PM
Hi everybody,
I am using ASP.NET 2.0.
When redirecting from page1 to page2 using Response.Redirect() method
ThreadAbortException is raised.
In my condition sometimes even though this exception is caught and handled
by my code, the session_end method in global.asax is getting called, whi... more >>
Page.IsValid Not Working
Posted by dean_wilson NO[at]SPAM teamji.com at 7/12/2007 4:23:09 PM
Hello,
I am using a regular expression validator for a textbox where
numerics should only be entered.
The error message appears when non numerics are entered, as it
should. After clicking the submit
button, I check the page.isvalid property, which is true, but should
be false, as the con... more >>
Display html to my asp.net page from code
Posted by Sam at 7/12/2007 3:08:06 PM
I have a string that is html that I retrieved from the database.
I want to from the code behind display it on a portion of web page.
Like perhaps in a textbox control or inside a <td> tag, or something.
I tried a textbox control, but it shows the tags, not the formatted
html.
I am VERY ne... more >>
VS 2005 with VSS 6.0
Posted by Mike at 7/12/2007 2:40:48 PM
I'm working on a web application with several other developers and we're
using Visual Source Safe 6.0 and VS 2005 IDE, and I noticed that more then
one person can check out and modify a file even though it states its checked
out by someone else. Back when I was using VS 2003, and VSS 6.0 I was... more >>
ASP.NET User Control Validation ???
Posted by at 7/12/2007 2:29:32 PM
I have created a user control containing a drop down list box. I want
to be able to put this user control onto a page along with a validator
control. The problem is, the validator doesn't see the usercontrol as
a "validatable" object. I don not want to include the validator in the
user control b... more >>
CallBack and DataBinding
Posted by Sekhar at 7/12/2007 2:20:01 PM
Hi All
I have a repeater control and a dropdownlist control. When the page loads
the repeater control has 10 records. When the user selects the drop down, I
am making a client callback and re binding the repeater control. During this
call back the data source contains only 2 records, but I... more >>
Wrapping text in a textbox
Posted by slinky at 7/12/2007 1:42:36 PM
I have a textbox for entries of rather long paragraphs of text on
an .aspx form developed in VB.net on Visual Web Developer Express.
What I can' figure out is how to get the text to wrap as the user is
typing once they get to the margins, just like happens automatically
when I type in this box. ... more >>
Querystring Issue - ASP.NET within ASP site's IFRAME
Posted by Mike at 7/12/2007 1:38:07 PM
Hi. I've built an asp.net website, which is displayed within an IFRAME of a
classic asp site. The asp.net site consists simply of one page having a
paginated gridview control.
When my asp.net site is opened in the iframe, a querystring named "sid" is
populated, so it looks something like ... more >>
ASP.NET code not wortking with IIS
Posted by Mike Chilson at 7/12/2007 1:37:37 PM
Hi all,
Have an IIS authentication issue and need some help. I won't get into =
specific detail why we do it this way but we HAVE to do it this way. We =
have a login page in an asp.net web application that allows the user to =
choose to use windows integrated authentication or an application l... more >>
File.Exists and UNC Shares
Posted by KittyHawk at 7/12/2007 1:12:10 PM
I am trying to use the File.Exists method on image files that are located in
a virtual directory on a UNC share from IIS6. The UNC share is located on a
Windows 2000 Server machine.
I can view the files just file over HTTP on the IIS server. However, when I
use File.Exists it always return... more >>
RegisterExpandoAttribute with ajax
Posted by Jeremy at 7/12/2007 1:08:50 PM
We've developed various custom controls that use
Page.ClientScript.RegisterExpandoAttribute. This method creates a variable
at the bottom of the page and populates its properties.
My problem is that my control is in the edit template of a grid view. When
initially viewing the page, the co... more >>
Control to Image
Posted by ge0193387 NO[at]SPAM otc.edu at 7/12/2007 12:24:16 PM
I was wondering if there was a way to make a WebControl and turn it
into a bitmap similar to the DrawToBitmap that Windows.Forms.Controls
have. I could attempt to draw the control programatically but I don't
have very good graphical skills to begin with and it would take me
longer than have.
... more >>
Simple generic list as a datasource for a grid
Posted by cowznofsky at 7/12/2007 11:44:27 AM
I'm getting data in a generic list class, which I'm not going to
change. I would like to
use it as a datasource for a datagrid or a gridview, but it doesn't
implement IEnumerable.
I'm wondering if there's a simple technique that would allow me to get
the data into the datagrid.
... more >>
Inline statement is not interpreted correctly
Posted by Froefel at 7/12/2007 11:33:29 AM
Hi all,
I have a curious thing that I can't figure out.
I have an aspx page with associated code-behind file; the aspx page
has the following code:
<asp:LinkButton ID="lnkShowMyProjects" runat="server" PostBackUrl="~/
SelectProject.aspx?show=<%= User.Identity.Name %>">Show only my
proje... more >>
Login works in Firefox, not in IE7
Posted by Jeppe Jespersen at 7/12/2007 11:22:11 AM
I have built and deployed a site that uses Membership and Role providers.
The site has a SiteMap and a Menu control thats security trimmed.
a) When I'm on the webserver, and attempt to log on (to localhost) using
IE7, my user logs in w/o problems, and the proper menus are shown.
b) When I'm ... more >>
Handles clause requires a WithEvents variable
Posted by dancer at 7/12/2007 11:08:24 AM
I get this compilation error:
Handles clause requires a WithEvents variable
I know I need to declare a WithEvents variable, but I don't know how or
where.
Here is a part of the code:
<%@ Page Language="VB" debug="true" %>
<%@ Import Namespace="System.Data.Oledb" %>
<%@ Import Names... more >>
Identity Impersonate - Multithreading?
Posted by rowe_newsgroups at 7/12/2007 10:35:36 AM
Forgive me if I'm being ignorant, but is the identity tab in the
web.config ignored by background threads?
I have written a class that has both a synchronous and asynchronous
mode for querying an Access database located on a network share. To
get access to the network share I am using the iden... more >>
Object Data Source Computed Column
Posted by Dave T at 7/12/2007 10:08:03 AM
I have a list box that is bound to an object data source. I added a column,
say ColumnC, to my typed data set and for it's expression I entered
ColumnA + ': ' + ColumnB
When I preview the data in the designer I get exactly what I want.
Now I go over to the object data source on my we... more >>
Accessing Page Object from class
Posted by Chris Newald at 7/12/2007 9:58:02 AM
Hello there,
I need to be able to call the System.Web.UI.Page object inside a custom
class without actually passing the Page object as an argument. Is there an
alternate way to access the page object from within a class? Something like
the HttpContext.Current object?
My class creates c... more >>
Strange error-(WebResource.axd) CryptographicException: Padding is invalid and cannot be removed.
Posted by Brent K at 7/12/2007 9:49:58 AM
Ok, I have an internal intranet website created in visual studio 2005, c#.
It was running fine for months, and then all of the sudden a few days I
started getting these errors emailed to me (I have it set up to email me
exceptions). Here is the error. I have gotten this error probably 100 time... more >>
reload of page required after formsAuthentication signout / logout?
Posted by jobs at 7/12/2007 9:48:46 AM
Hello.
I have asp.net menu with a logout item.
I handle the the menu click as follows:
Protected Sub Menu_MenuItemClick(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.MenuEventArgs) Handles Menu.MenuItemClick
If Menu.SelectedValue = "Logout" Then
Resp... more >>
Configuring webconfig
Posted by Dave at 7/12/2007 9:46:09 AM
I don't want to use the default db "ASPNETDB.MDF" that is placed in the
"App_Data " folder. I have created "myDB.MDF" and have run
"aspnet_regsql.exe" tool successfully. I now want to encompass it into
"myWebSite". However, I am unsure what my webconfig should look like. I've
read an articl... more >>
asp.net 2 variables initilization
Posted by ShayHk at 7/12/2007 9:36:27 AM
for example:
I Draged a Button to the webForm .
Where is the definition?
Where are the event registration?
where these the initilazation of the variables takeing place.
... more >>
ContentPlaceHolder under a DIV tag - Visual Studio Design view?
Posted by jobs at 7/12/2007 9:21:57 AM
Hello.
I have a master page with ContentPlaceHolder under a html Div tag.
That DIV tag has CSS that positions it.
While in Visual Studio design view, that div tag and contentplace
holder does not appear where it actually shows up when you run it the
code.
Is DIV the best way to go? How e... more >>
whats the best way to do this?
Posted by Steve at 7/12/2007 8:18:42 AM
I have to create 2 strings and then parse one string out to save the data
into the database.
My first string looks like this:
John|Smith|Jsmith@yahoo.com,Greg|Henry|gh@aol.com,Kelly|Smith|ks@gmail.com,
I then need to parse out that string to seperate them by the commas so I see
this
Jo... more >>
GridView and ObjectDataSource Sorting
Posted by Ghistos at 7/12/2007 8:00:03 AM
Hi,
I have an ObjectDataSource bind to a GridView and Sorting is enabled.
I have no problem with sorting, I implemented IComparer but I don't want to
fetch my data each time from my database. I'm new with web development so I
don't know if I do it right.
What I do right now is putting ... more >>
How to display RTF text stored in database as IMAGE to a asp.net page
Posted by Sam at 7/12/2007 7:48:13 AM
I have been able to take rft text stored in a SQL database and display
it in a RichTextBox control on a windows form.
Is there any way to do something similar in an ASP.Net page. I do not
see any controls that will allow me to do this. We also have access
to Infragistic Web controls too.
... more >>
A visitor from Redmond came to my site,,,
Posted by marss at 7/12/2007 6:35:05 AM
A visitor from Redmond came to my site. Through Google search.
Searched how to sort GridView(.Net) (keywords: "gridview
e.sortdirection").
I don't even know what to say....
Mykola
... more >>
About datareader.read()
Posted by at 7/12/2007 6:20:18 AM
I have some code like this:
SqlCommand cmd = new SqlCommand("get_storeid_byuser", cn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("@username", SqlDbType.VarChar, 50).Value =
"osamede";
cn.Open();
SqlDataReader reader = cmd.ExecuteReader();
The StoredProcedure "get_s... more >>
custom web controls
Posted by Arne Garvander at 7/12/2007 5:28:03 AM
In VS 2003 there was a template if custom web controls.
In VS 2005 that template is missing.
Where is the documentation for building custom web controls for .net 2.0?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)... more >>
Url Verlinkung in einer Webaplikation.
Posted by Ali Ramezani at 7/12/2007 4:05:33 AM
Hallo Zusammen,
wie kann man eine Art Klartext-Verlinkung in ASP.NET realisieren.
Beispiel w=E4re :
www.mydomain.de/artikel/kategorie/microsoft-will-kooperation-google
statt
www.mydomain.de/artikel.aspx?catgegoie=3Dblabla&id=3D234234
www.zeit.de macht da sowas als biespiel.
... more >>
Multiple User Controls and ViewState
Posted by Maury at 7/12/2007 3:31:36 AM
Hello,
I have a question: what happens if multiple user controls (sometime
of the same type)
write in the same ViewState key ?
Each one erase previous values?
To avoid this have I to prefix the ViewState keu with a
"this.clientID" ???
Thanks
... more >>
Badge Reader
Posted by Umeshnath at 7/12/2007 12:10:03 AM
Hi,
Can any one suggest how can I read Badge information into my web application?
I am very new into this. I am expecting entire solution.
My requirement is, I have a system which will connect to Badge reader when
any one swipe the badge, Badge reader has to read the data and I needs to
store... more >>
How to put ' and " into sql
Posted by Igor at 7/12/2007 12:00:00 AM
I need to put " and ' into sql server database.
I write:
string SQL = "INSERT INTO SomeTable (Email, Message) VALUES (' +
txtName.Text + "','" + txtMessage.text +')";
What if someone enters character ' in text box? Than I got error message
because ' is character for strings in sql. Then my ... more >>
how to truncate automatically?
Posted by Chris at 7/12/2007 12:00:00 AM
Hi,
When the length of a textbox in a form exceeds the length of the
corresponding field, i get an error message ("string or binary data will be
truncated .... ") and the aplication stops.
I know i can check the lenght in code-behind, but is there no way to let
asp.net truncate inputted ... more >>
Visual Studio settings.
Posted by JJ at 7/12/2007 12:00:00 AM
Is there any way you can set a project to add the default namespace lines to
any new code files you create automatically?
Just curious...
Thanks,
JJ
... more >>
ASPNET GridView and page question
Posted by Jason Huang at 7/12/2007 12:00:00 AM
Hi,
In my ASPNET 2.0 web form WebForm1.aspx, I have a GridView GridView1 and
some other controls in front of the GridView1.
There are CheckBoxes on the GridView1 also.
My question is when I check the 20th row of GridView1's CheckBox, the
WebForm1 will autopostback, and the web page will go ... more >>
POSTing a form programatically
Posted by Grey Alien at 7/12/2007 12:00:00 AM
I am trying to programatically POST an ASP form, to allow me to log on
to a site programatically.
<form name="aspnetForm" method="post" action="Default.aspx"
id="aspnetForm">
<input name="_ct99:Content:UsrName" type="text"
id="_ct99_Content_UsrName" />
<input name="_ct99:C... more >>
|