all groups > asp.net > december 2004 > threads for sunday december 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
Accessing Active Directory Information
Posted by thomson at 12/12/2004 11:19:08 PM
Hi,
Is it possible to access the user information from a Web
Application,
Iam not able to use System.DirectoryServices from my code
behind.---using System.DirectoryServices
What am i missing?
Thanks in Advance
thomson
... more >>
Window Does not close
Posted by vijay_kerji NO[at]SPAM yahoo.com at 12/12/2004 11:04:45 PM
Hi:
I have a child window which is opened by parent using ShowModalDialog.
Child has a button called Add and its click handler at server tries to
close the window as below.
private void Button_Add_Click(object sender, System.EventArgs e)
{
string strscript = "<script ... more >>
WYSIWYG
Posted by Peter Morris [Air Software Ltd] at 12/12/2004 9:37:22 PM
Hi all
I want a WYSIWYG HTML editor for my website howtodothings.com - my
requirements are
1) No "Java Runtime" required, javascript is okay though.
2) Must work on both IE and FireFox
3) Must allow me to insert a link to a file within a specific folder on the
server
4) Must allow me to... more >>
FxCop rookie question
Posted by hansiman at 12/12/2004 9:15:42 PM
Just beginning using FxCop in my asp.net projects...
I get a lot of error messages under the header: AvoidUnusedParameters
for funtions and routines lik:
Sub isUserAuthenticated(ByVal blnLoggedIn As Boolean)
If Not (blnLoggedIn) Then
System.Web.HttpContext.Current.Response.Redirect(pcP... more >>
attaching javascript to a dynamically loaded control object
Posted by Darrel at 12/12/2004 8:48:43 PM
I have a usercontrol that is dynamically loaded. Within this usercontrol, I
want to add some javascript, and then attach it to one of the web controls
on this page.
Normally, I'd just use something like this:
RequiredFieldValidator_description.Attributes.Add("onKeyUp",
"textCounter(this,... more >>
dropdownlist event not happening
Posted by V. Jenks at 12/12/2004 6:11:27 PM
I'm having horrible luck with events today...
I have one dropdownlist which, on changed, is supposed to
load another.
Here's my code (with needless code ommitted):
1. The ddl's
<asp:dropdownlist
id="OIItemList"
onload="OIItemList_Load"
... more >>
Forms Auth SignOut Question
Posted by Patrick Olurotimi Ige at 12/12/2004 4:49:10 PM
I have a Forms Auth and use a button that allows users to SignOut below
but when they sign out and PRESS THE BACK BUTTON they can see the
previous page WHY?
Sub SignOut(objSender As Object, objArgs As EventArgs)
'delete the users auth cookie and sign out
System.Web.Security.FormsAuthentic... more >>
Arranging Objects in Web Form
Posted by ltt19 at 12/12/2004 3:27:03 PM
Hi folks,
I'm new to asp.net, and I'm having a problem. I'm not used to the FlowLayout
mode, so I'm using the GridLayout. I have a Label, thats loads a file and
below this Label, comes a Button, however the button needs to be exatly
below the end of the text, which height diversifies. How ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Access ASCX properties/methods from another ASCX file
Posted by djscratchnsniffing NO[at]SPAM yahoo.com at 12/12/2004 2:54:17 PM
i know you can access an ascx's properties/methods from an aspx file.
Let's say you have an aspx file with two code-behind files(ascx files).
Can you access one of the ascx file's properties/methods from the other
ascx file?
... more >>
Raise an event from server side control
Posted by Tim Westmoreland at 12/12/2004 2:37:13 PM
Can someone tell me how to raise an event or trap when the maxlength of a
server side textbox has been reached?... more >>
Linking listboxes together
Posted by the friendly display name at 12/12/2004 2:11:01 PM
Hello,
I need to dynamicaly populate a second listbox, based on the value, that the
user has chosen in the first listbox.
A good example of what i mean, is this site:
http://www.nvidia.com/content/drivers/drivers.asp
The second and third boxes getting filled, depending on the value i... more >>
Newbie ? - Error on Redirect from login page error
Posted by Rudy at 12/12/2004 11:47:01 AM
Hello all,
Trying to make a login page to a website. However I don't the user to be
able to set a password, I want to control the password for everbody, and
change it weekly. Any way, I have found alot of docs on Form Authentication
to be used as a login page. But they all are a little di... more >>
Exception handler in sdk
Posted by jason NO[at]SPAM catamaranco.com at 12/12/2004 11:12:16 AM
I would appreciate some help in understanding the simple C# example relating
to handling exceptions. This one relates to catching an error thrown by
dividing number by zero.
There are a few things I don't understand which I hope you can help me with:
'using System;
class Exceptio... more >>
asp.net class lifecycle
Posted by Scott Jacobsen at 12/12/2004 9:29:06 AM
I have a question about the lifecycle of an asp.net class. I have some
java background, so here's my question:
When I create a code behind class how are instance of that class
created/used, and what are the implications for member variable usage?
Is it like servlets - there is exactly one in... more >>
How do multi columns like newspaper?
Posted by VB Programmer at 12/12/2004 8:31:02 AM
I have an ASPX page that I'm creating. It'll have alot of text. I want the
text to be 2 columns, like a newspaper. If the user resizes the browser the
columns should adjust accordingly.
What is the best way to handle this?
In addition, I may want to constrain the vertical height of the ... more >>
I want to Display an alter message with DataGrid Button.
Posted by Justin Cheung at 12/12/2004 6:25:03 AM
I have read an article on the web. And There is the source.
I get an error when I'm using this:
private void DataGrid1_ItemCreated(object sender,
System.Web.UI.WebControls.DataGridItemEventArgs e)
{
ListItemType lit = e.Item.ItemType;
if (lit == ListItemType.Item)
{
Button btnDe... more >>
Attaching Custom Events for WebUserControl
Posted by johndoe NO[at]SPAM driver.net at 12/12/2004 5:57:24 AM
I am wondering what the best method of attaching custom Events to custom
WebUserControls are. I cannot seem to find the proper terminology to expand
my research.
Basicallly I have a custom user control that has 2 or 3 events
selectionChanged
DropDownOpened
I would like the ... more >>
Creating A DataSet Programmatically
Posted by Arpan at 12/12/2004 4:55:07 AM
This is a multi-part message in MIME format.
------=_NextPart_000_0044_01C4E006.C058B0C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The following ASPX code snippet creates a DataSet programmatically right =
from the scratch:
'create an em... more >>
Tumbnail generation
Posted by JJ at 12/12/2004 12:34:40 AM
Hello,
I'm translating my Perl script into C# ASP.NET, and I have the following
problem:
I need to generate a tumbnail from a picture, but it cannot be cached. It
had to be generated at runtime. To do this, I need to change the
content-type to image/png, I need to parse parameters like
pag... more >>
IFrame
Posted by sara at 12/12/2004 12:11:02 AM
Hi to all
i want to load page on iFrame when i fire some events
any ideas??
thanks
... more >>
How to correctly identify an usercontrol?
Posted by Davids at 12/12/2004 12:05:37 AM
I'm placing a user control (from file) into an aspx file using @Register and
<MyControls:ListBlogEntries ID="ListBlogEntries" Runat="Server"/>
that particular control is as simple as:
<asp:DataList ID="ListBlogEntries" Runat="server">
<ItemTemplate>
...
<... more >>
|