all groups > asp.net > january 2008 > threads for wednesday january 9
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
Question About .NET Controls and Javascript
Posted by Jonathan Wood at 1/9/2008 9:28:10 PM
I have a TextBox on a Web form that I'll be accessing from code. However,
I'd also like execute some Javascript when the control loses focus.
I'm a little confused since the IDE does not seem to present javascript
events when a control has the runat="server" specified. I know I can type it
... more >>
passing a DropdownList value to another wizard step?
Posted by Andy B at 1/9/2008 7:11:39 PM
I have a wizard that has 3 wizardSteps. The first one is selecting a
NewsArticle from the combobox to edit. The second wizardStep (pressing next)
loads the whole database record into a form. The third step would be for
them to confirm the changes before submitting. I know how to get the confir... more >>
Get control
Posted by shapper at 1/9/2008 7:00:52 PM
Hello,
I have a control inside a custom control. The control tree is has
follows:
ListView > EditItemTemplate > CustomControl A > CustomControl B >
Literal
I need to bind the Literal so I did the following:
Dim lvdiContainer As ListViewDataItem =
CType(myLiteral.NamingContainer, Lis... more >>
Designing Pages From a Master
Posted by Ian Semmel at 1/9/2008 6:43:09 PM
When you add a new form which is derived from a master form, it shows
you the asp:content areas where you can add controls etc.
However, the size of these windows has no bearing as to what size they
will be when rendered.
How do you make the content window where you are working bigger so y... more >>
Apply stylesheet to Hyperlink server control
Posted by Redhairs at 1/9/2008 5:24:41 PM
When I set up a image link with Hyperlink server control as below
<asp:HyperLink ID="thelink" runat=server Text="thelink"
NavigateUrl="#toWhere" ImageUrl="theLinkIMage.gif" />
the html output will be <a href="#toWhere"><Img src="theLinkImage.gif"
style="border-width:0px;"></a>
How to remove... more >>
Constructor
Posted by shapper at 1/9/2008 4:56:55 PM
Hello,
I am working on a control that needs to have various functions with
the same name but different number of inputs.
How should I do this?
Thanks,
Miguel... more >>
IIS bug-Concurrent request lock before IHttpModule.AcquireRequestS
Posted by Kevin at 1/9/2008 4:49:14 PM
Hi, I am running Win2K3 Server Enterprise Edition SP2, and I have logged that
requests are not running concurrently. I created an IHttpModule and printed
debug on every event, and found that when one long running request is
processing, another request comes in and pauses between PostMapRequest... more >>
Creating a list of items a person can enter.
Posted by Mufasa at 1/9/2008 3:50:44 PM
I've got a user object that allows a user to enter a date type, a person's
name and the actual date. I want to have it so that they enter one and then
click a button and it will add another set of fields for them to enter. So
first there would be one set, they click add, then there would be tw... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Learn ASP.NET with LINQ
Posted by Tem at 1/9/2008 3:19:01 PM
I'm new to ASP.NET. But I'm not new to c# and programming in general.
Need some suggestions on whether I should learned the traditional way first
or just learn LINQ?
Would that be sufficient for most web development needs?
Does anyone know of a sample of whole website written with c# 3.5 and ... more >>
Asp.Net 2.0 - Textbox previous value
Posted by Steve at 1/9/2008 3:07:02 PM
How do I get the previous value of a text box ? Is there a way to access
the TextBox control state ?
Thanks for any direction,
Steve
... more >>
ASP.NET Menu && SiteMapDataSource
Posted by NvrBst at 1/9/2008 2:04:16 PM
I have a couple questions. Firstly is there a way to set the style of
a MenuItem in the "MenuItem_MenuItemDataBound" event? Right now I
check to see if the e.Item is the last element and then set the
SeparatorImageUrl to a blue bar image I made. Slight problem with
this is that the bar has to... more >>
Datagrid column width and truncating ...
Posted by Francois at 1/9/2008 10:52:45 AM
Hello,
How can I size my text to fit in a datagrid column ? I do not want the
datagrid go multiline.
I am using WEB Forms, not windows form, so CreateGraphics ans MesasureString
do not work.
Thanks.
... more >>
How do you actually display the GridView SelectedIndex?
Posted by S_K at 1/9/2008 10:47:06 AM
Hi,
I have a GridView that displays so many rows that all the rows can't
be displayed at once - slider bars are needed and the top-most row is
displayed on a PostBack. I want the SelectedIndex row to be displayed
after the PostBack instead of the top-most row. I've searched the
online documen... more >>
Retricting TextBox input
Posted by Paul Jarvis at 1/9/2008 10:27:32 AM
I have numerous TextBoxes inside a web form.
Please can anyone tell me how to make sure once some text (a number for e.g.) is placed in into a TextBox, then if the same number is placed into another TextBox, an error message is shown.
Thanks in advance
Paul Jarvis
The University of Manches... more >>
Error using System.DirectoryServices
Posted by Nam at 1/9/2008 10:24:06 AM
On my ASP.NET 2.0 website project on VS 2005, I am getting the following
error when building the solution:
“The type or namespace name 'ADSI' does not exist in the namespace
'myNameSpace' (are you missing an assembly reference?)â€
I do have the following added to my web.config file:
... more >>
Exception - Padding is Invalid
Posted by AG at 1/9/2008 9:21:20 AM
I occassionally get the following exception from an ASP.NET 2.0 Web
Application running on a shared web host.
I have no way of knowing what the actual request page was as it never
happens when I visit the site. The exception is trapped in the
Application_Error event of global.asax and email... more >>
ASP.NET and SSL question
Posted by Steve S at 1/9/2008 9:19:50 AM
Hi,
I have an ASP.NET 2.0 application with an ASP.NET login control in the
master page. The user can only access the home page without logging in, all
the other pages require authentication. Once the user has logged in the
login control is hidden.
To secure the users name and password do... more >>
Incorrect syntax near 'nvarchar'.
Posted by Kevin Bilbee at 1/9/2008 9:16:51 AM
The error
Incorrect syntax near 'nvarchar'.
Must declare the scalar variable "@CODE".
I have looked at many posts with this error. I have potes to ASP.net forums
with no luck. How can I debug and fis this error. Below is the ASPX page the
code behind and the sql data table create schema strai... more >>
VS2003 ASP.NET Admin Access
Posted by Al at 1/9/2008 8:45:20 AM
Good morning all:
Is there a way to allow a developer to work with VS2003 ASP.NET and not have
admin access to the box?
Thanks,
Al
... more >>
no /bin folder and no binaries?
Posted by jc at 1/9/2008 8:34:01 AM
I have an asp.net 2.0 website with vb.net classes. I can run that
website with no problems from vs.net and from an iis 6.0 server. I
deploy using a standard copying of files.
I noticed a similar website i did not develop has a /bin folder with
binaries.
I presume the developer compiled the ... more >>
looping through items in a repeater and fetching a dataitem field
Posted by adiel_g@hotmail.com at 1/9/2008 8:11:41 AM
I am trying to loop through a repeater to retrieve a dataitem field
but am getting a NullReferenceException.
I can find a checkbox control but cannot find a dataitem field. Here
is the code that is looping through the repeater:
Dim rc As RepeaterItemCollection = rptReport.Items
... more >>
ASP.NET web app not working on IE7
Posted by Marisa at 1/9/2008 8:06:04 AM
I am a novice web developer working in C#, and have created a web app
using Visual Studio 2005, which works perfectly in FireFox, but in
IE7, the submit button simply doesn't work! The OnClick event does
not run. I have tried setting the AutoEventWireUp both to true and
false, to no avail. I ... more >>
Format text in label to amount
Posted by staeri@gmail.com at 1/9/2008 5:20:48 AM
I'm populating a label with an amount like this:
lblBudget.Text = Generic_database_functions.GetValue("SELECT
ISNULL(Sum(Budget), 0) FROM vwPROJECTForecast")
I want the amount in the label to be shown as "10.000" not "10000".
How can I format the amount?
I'm very grateful for help!
// ... more >>
Server Application Unavailable
Posted by nishanthancp@gmail.com at 1/9/2008 2:43:57 AM
Hi,
Our Web server runs Windows 2003 Server, IIS6.0, ASP.Net 2.0. We
randomly get "Server Application Unavailable" error.
The event log says
"Failed to execute request because the App-Domain could not be
created. Error: 0x8007000e Not enough storage is available to complete
this operation.... more >>
Strange Custom Control Problem (.Net 2.0)
Posted by Tomasz J at 1/9/2008 2:15:06 AM
Hello Developers,
I have a control derived from System.Web.UI.WebControls.WebControl. Control
has this property:
[Bindable(true), Category("Misc"), Description("value")]
public string Value
{
set { _value = value; }
get { return _value; }
}
protected override void AddAttributesToRe... more >>
Font Dilog control in asp.net?
Posted by chandan at 1/9/2008 1:36:05 AM
How to implement Font Dialog control in asp.net ? Microsoft doesnot
provide this webcontrol.
Thanks,
Chandan... more >>
Delegatoin w/ Protocol transition in a Windows 2000 native domain
Posted by jesper.hvid@gmail.com at 1/9/2008 12:53:59 AM
Hi,
Some background information first.
I have a root domain "rootdom.com" and two child domains
"c1.rootdom.com" and "c2.rootdom.com".
In the c1 domain I have an IIS 6 with an ASP.net application on it
that's running forms-based authentication as well as an Exchange 2003
frontend server ... more >>
|