all groups > asp.net webcontrols > december 2005 > threads for december 8 - 14, 2005
Filter by week: 1 2 3 4 5
Repeater Help
Posted by Jamie Sutherland at 12/14/2005 4:01:23 PM
Hi,
My page has a repeater control on it which puls data from my sql db. the
query string I have has several fields of the same name but from different
tables(shown below). On my aspx page I have the following:
<asp:Repeater id="rprActiveOp" runat="server">
<ItemTemplate>
<%# DataBi... more >>
Working, sorta...drop down list
Posted by zamdrist NO[at]SPAM gmail.com at 12/14/2005 12:46:48 PM
I have an ASPX codebehind webform with two drop down lists. The first
code below gets data and populates the ddl. The second (ddlGroups)
fails and I cannot figure out why. I checked the permissions of the
stored procedure, even ran it via query analyzer.
Although I haven't figured out how to t... more >>
Web site administration tool functionality for the end user
Posted by John at 12/14/2005 4:08:16 AM
Hi
Web site administration tool is great. How can I provide this functionality
for the end user? I need the end user Admin to be able to list users and
then change roles for any of the users or to be able to disable any of the
users.
Thanks
Regards
... more >>
Customizing create user wizard
Posted by John at 12/14/2005 2:03:23 AM
Hi
I am using create user wizard with sql server based membership/roles. I have
the following questions;
1. How can I get rid of the security question and answer as I don't need it
in my app?
2. How can I get the control to send an email to the "office" so they can
authorise the accou... more >>
OnDayRender won't render
Posted by Lorenzo at 12/13/2005 3:55:31 PM
Hello there,
I am stuck with somenthing that I can't get to work. I am trying to color
(again) the cell of myCalendar in yellow if those dates match what I ahve in
my DB.
This is what I have so far:
Sub Calendar1_DayRender(sender As Object, e As DayRenderEventArgs)
' Here I define my ... more >>
Steven Cheng, could you please take a look at the exception?
Posted by qiang at 12/13/2005 1:49:28 PM
Hi Steven,
Could you please take a look at an exception for ASP.NET application?
My ASP.NET application is using Infragistics WebChart control. I encounter
an exception below when deploying the application into a third-part host.
It would be very appreciated if you have known the reason a... more >>
ObjectDataSource DateTime isuue with en-gb culture
Posted by Anne Catterick at 12/13/2005 12:01:03 PM
Hi,
I have an british ASP.Net 2.0 application which is doing what (should) be
very simple. But I am having issues.
On my page I have a GridView as follows (some tags excluded for easy reading):
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="Obj... more >>
CSS Issue With User Control in an HTML Table
Posted by Stephen Hatfield at 12/13/2005 9:45:02 AM
I have a user control that is an HTML table with two rows and three columns.
I am using a control instead of a straight APSX page as in the future I will
need to use this control within SharePoint. In VS 2005 design mode the user
control table takes the full height as expected. When I use this... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Disable Dropdown list in GridView(Edit Mode)
Posted by Houston Lucifer at 12/13/2005 9:29:05 AM
Hi all, i have three column in GridView which in the edit mode are dropdown
lists. Based on the role, when the user clicks on the 'Edit' Button i need to
disable any two of those columns. How can i do this. Can i generate the 'Edit
Item Template' at runtime? Is there any easy way?
Thanks fo... more >>
Error Rendering Control - ButtonSearch An unhandled exception has occurred. There was an error parsing the theme: The 'assembly' attribute cannot be
Posted by madhattan NO[at]SPAM newsgroups.nospam at 12/13/2005 8:56:12 AM
I have written my own custom server control based on Web Control. I placed
the .cs file in the App_Code Folder.
When I add the following tag prefix to my web.config I start seeing this
error (Design Time):
"Error Rendering Control - ButtonSearch An unhandled exception has
occurred. ... more >>
Label Style
Posted by kpg at 12/13/2005 6:54:22 AM
Hi all,
I am long time programmer but a novice in ASP.NET.
My main problem with coding is the style property
of web controls.
In this case it is the Label (UI.WebControls.Label).
Whereas I am used to setting properties to manipulate
the apperance of controls, with HTML it's all in th... more >>
Templated User Control & intellisense
Posted by Frédéric Mayot at 12/12/2005 10:10:40 PM
Hi,
I built a very simple templated user control but unfortunately, the template
"Content" is not recognized by intellisense and it says that my component
"SubForm" is not supposed to contain anything.
Any idea ?
Thanks
SubForm.ascx-------------------------
<%@ Control Language="C#" AutoE... more >>
Problem adding attributes to DataListItem..
Posted by J'son at 12/12/2005 1:04:01 PM
Guys,
I have created a custom class that derives from DataList so that I can
add some custom client side functionality into each new item row
(<td>). Heres the class in its simplest form:
public class MyDataList : DataList
{
public string MyValue1 = "alert('Hey there!');";
p... more >>
Result not expected with user control - any ideas why/
Posted by Sue at 12/12/2005 11:05:03 AM
aspx:
<form id="Form1" method="post" runat="server">
<asp:PlaceHolder ID="PH" Runat="server"/>
</form>
'-----------------------------------
code behind:
Protected WithEvents PH As PlaceHolder
Protected WithEvents TestLabel As TestLabels = LoadControl("TestLabels.ascx")
Private Su... more >>
Trouble with radio button list in Asp.net 1.1
Posted by Larry Beall at 12/12/2005 9:48:00 AM
I have a radio button list that has to contain the same value for 2
items. When this is posted back and I attempt to grab the selected
index it is always using the first instance of that value item. Is this
a bug or intended design and does anyone have any suggestions for
getting around th... more >>
datagrid value grouping
Posted by Priya at 12/12/2005 6:23:03 AM
Hi,
I need a help.
I'm creating a datagid .
It has 4 columns.
On the page load event I called the stored procedure which returns 7 fields
out of which i should display 4 columns.
First column was has radiobutton, second,third & 4 th are labels.
the value returned by stored procedure is got... more >>
The lowly data field
Posted by TenDot at 12/12/2005 5:19:02 AM
I'm struggling with something that I'm ashamed to ask but it's driving me
nuts. I've done all kinds of searches in google and here on msdn and this
forum. Either I'm asking the wrong question or I have a serious paradigm
mis-conception. :-(
I'm trying to make a data entry web form. I need... more >>
Role based security
Posted by John at 12/12/2005 4:48:31 AM
Hi
I need to implement role based security for my app. If possible I would like
to use as many of the built-in controls login, create user etc. as possible.
I would also like to use SQL Server to store users/roles information. The
app will be hosted on a public web host.
My question is; ... more >>
DropDownList(ddlist) and TextBox(tbox)
Posted by deepak at 12/12/2005 2:21:01 AM
i have dropdownlist(ddlist) and textbox(tbox) , i want that if a user types
sometihing in the
textbox(tbox), the values present in the ddlist should appear e.g.
my ddlist has 3 values (india,indonesia,germany), if user types in text box
like "i" then dropdown
control should go to "india" an... more >>
Tabbed control for ASP.NET pages
Posted by jonefer at 12/11/2005 2:29:02 AM
I'm a total Dotnet beginner, is there any example for creating the same kind
of Tabbed control for Windows Forms - such as in Yahoo mail?... more >>
Could not load type XXXXXX from assembly mscorlib
Posted by qiang at 12/10/2005 6:49:35 PM
Hi everyone,
=20
Could you please take a look at an exception for ASP.NET application?
=20
My ASP.NET application is using Infragistics WebChart control. I =
encounter an exception below when deploying the application into a =
third-part host.
It would be very appreciated if you hav... more >>
Low level programing in ASP .Net
Posted by noor at 12/10/2005 6:09:08 PM
Hi,
I have to make a web based program that can interect with a networking
device its a home made device. I m going to develop this device in .Net .
kindly guid me from where i can strat it.
the device is accessable form dos i m basically wants to make a web GUI of
it kindly help me out. Thank... more >>
Find the source of an event
Posted by Vi at 12/10/2005 12:50:02 PM
Hi,
I'm trying to attach a code behind method to two different LinkButton
controls on my page.
How can I find out which of the controls fired up the event in the code
behind method that handles the event?
Thanks... more >>
Problem using login control
Posted by John at 12/10/2005 12:00:00 AM
Hi
I have placed a login control on a web form. When I run the webform and
click on the login button with dummy username & password, I get the
following error;
Exception Details: System.Data.SqlClient.SqlException: Cannot open user
default database. Login failed.
Login failed for user '... more >>
Tree View DragNode
Posted by Praveen at 12/9/2005 7:38:40 PM
Is it possible to do a drag and drop of a node in treeview control to
another control or form??
I really dont want to move/delete that node.... But want to do drag a node
and drop it on some other control and want to know which node I dropped.
thanks
praveen
... more >>
asp button click handler
Posted by Peter Kirk at 12/9/2005 5:16:41 PM
Hi
if I have an asp:button with runat=server, when it is clicked the code
behind (onclick handler) is called. If the onclick function is a long time
running, does the button wait until the handler is finished until it can be
clicked again? Or can I risk that a user can cause two executions ... more >>
validation controls are not working
Posted by noor at 12/9/2005 4:22:36 PM
hi,
I'm developing a website using .net faramework version 1.1 the issue i'm
facing is I put validation controls on my pages they all are working fine
here localy but when i upload them on webserver they all stop working , I
hosted my site at www.7host.com I dont understand what is the issue. K... more >>
Regular Expression Help
Posted by sam at 12/9/2005 1:31:01 PM
Hello,
We have a textbox on a web form (ASP.NET 2.0 - C#) that is for end-users to
enter e-mail address(es). The valid entries are:
name@company.com
name1@company.com;name2@company.com;name3@company.com (notice no space after
the semicolon)
name1@company.com; name2@company.com; name3@compan... more >>
ASP.NET 2.0 Menu Control - DynamicEnableDefaultPopOutImage Property
Posted by James Trefry at 12/9/2005 11:21:27 AM
I am using the ASP.NET 2.0 menu control and I am trying to use a dynamic pop
out image to indicate that child menus are present. According to MSDN
documentation I can set the DynamicEnableDefaultPopOutImage property to make
this work:
Quote from
http://msdn2.microsoft.com/en-us/library/s... more >>
Datagrid empty data hides header
Posted by Roby Eisenbraun Martins at 12/9/2005 9:19:02 AM
Hi,
I have a gridview (NET 2005) and when it hasn't got values it shows a
nice "Not found" text message. But unfortunately all the gridview lay-out
hides( header, ... ).
Is there a property to keep the gridview visible even if the data is
empty?
Thank you,
Roby... more >>
CSS class for a div tag
Posted by magnus at 12/9/2005 6:22:41 AM
Hi,
Hoping someone can help me.
I=B4m building a composite control and there is one thing I haven't
figured out.
What I want to do is to set a css class, specified in the properties,
onto a div tag, that is rendered as LiteralControl (in the
CreateChildControls() method).
This div tag surroun... more >>
sharing of session variable in firefox
Posted by rajendra dhaundiyal at 12/9/2005 1:52:02 AM
Hi guys
I am facing a problem in asp.net.We are using session variable to store the
roletype of a user who is logged on.It works perfect on IE.But when we open
two instance of firefox on the same machine both the instance share the same
session.That is if i am logged on as a normal user and t... more >>
Referencing controls in a template programmatically
Posted by karl NO[at]SPAM sunesis.com.au at 12/8/2005 4:46:43 PM
Hi
Anyone know the code required to reference, i.e set and modify the controls
inside a template, for example I have a form control that contains a number
of textboxes in a template. I want to avoid setting the reference on the
html page such as
Text='<%# Bind("FORNumber") %>'
Instead... more >>
Master Detail w Multiple Keys
Posted by BJF at 12/8/2005 2:46:19 PM
My goal is to have a master/detail setup with the master being a GridView,
and the detail being either a DetailsView or a FormView. I've gotten this
to work as long as the relationship between the two controls only relys on
one key field ( the datasource has a 'where' clause with only one fie... more >>
|