|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET Developmentmicrosoft.public.dotnet.framework.aspnet
Best way to show a crosstab in gridview ( m x n table of checkboxes)
H5N1 -
29 Jul 2006 11:38 PM - 1 message
Hi there It seems I've spotted interesting problem in a job I've got to do. I have 3 tables: meals, employees, and intersecting table: meals_for_employees with bool field meaning, that given employee wants a given meal. employees ----------------- emp_id ...
*** HELP *** Problems Accessing Simple VB.NET Access Database
samadams_2006 -
29 Jul 2006 10:40 PM - 1 message
1) I have a .NET Web Application called "Lesson18b" under "C:\Inetpub\wwwroot\Lesson18b". 2) I have one Web Form on this Lesson called "Form18b.aspx" 3) In this same Folder under Inetpub I have the famous NorthWinds ...
Saving an image from the browser
Nathan Sokalski -
29 Jul 2006 10:02 PM - 4 messages
I am using ASP.NET, VB.NET, and GDI+ to dynamically create images for webpages. When I right-click on the dynamically created image to try to save it to my hard drive, which I send as ImageFormat.Gif, my browser (Internet ...
HttpModule Error event doesn't fire!!
kgadia -
29 Jul 2006 9:14 PM - 3 messages
Hi, I have implemented global exception handler using http module by intercepting the Error event. The code works fine on my machine but the error event fails to fire when deployed on the test servers. The assembly containing the http module code has full control ...
ideas for effective use of master pages
gorf -
29 Jul 2006 8:35 PM - 1 message
I'd like some ideas from the more experienced users of master pages out there. We have many applications, large and small, that should have the same general look and feel to them. That is, the same header, the same ...
ASPNET user
mrsh -
29 Jul 2006 8:22 PM - 2 messages
as we know The .NET Framework runs all ASP.NET processes under the local ASPNET account. is there anyw ay that I can change the user and instead of a local user use a Domain user ? thnx Mahmoudreza ...
Visual Studio 2005 With SQL Server 2000
jeromebeaudry2 -
29 Jul 2006 6:00 PM - 6 messages
Hello. I want the following configuration, based on the products I currently own: VS2005 SQL Server 2000 2.0 Framework Is this possible? And are there any problems? (i.e., is VS2005 made for SQL Server 2005?) Thanks. ...
Login Problem ::
XD -
29 Jul 2006 5:51 PM - 3 messages
It is nor redirecting to default.aspx...What I am doing wrong?? Dim StrUser As String, StrPass As String Dim BValid As Boolean Dim Conn As Data.SqlClient.SqlConnection ...
File Download
^MisterJingo^ -
29 Jul 2006 5:27 PM - 2 messages
Hi all, I've written some code which allows a user to browse a directory and any subdirectories it contains. The page which contains this can only be browsed by users with a certain cookie (the page checks for this ...
Problem setting css style using relative path
PeterKellner -
29 Jul 2006 4:31 PM - 3 messages
I'm having trouble setting a background style in a master page. The declaration in the master page looks like this: <div id="header_image" runat="server" style="background: transparent url(images/bg_header.jpg) repeat-x scroll 0% 0%;;cursor: pointer;"> ...
Refering to <asp:> webcontrols
henk -
29 Jul 2006 1:05 PM - 4 messages
Hey, Question, how can i create client-side javascript that refers to a asp.net webcontrol. For example set the focus of a textbox lik this. <asp: TextBox ID="Textbox1" /> (client side) <script javascript> Textbox1.focus(); ...
newbie: problems deploying asp.net 2.0 app
Jeff -
29 Jul 2006 12:04 PM - 1 message
hey asp.net 2.0 I've deloyed my asp.net 2.0 app to my server (windows server 2003)... One of the pages in my asp.net app has a CreateUserWizard, in which I on the server creates (I didn't get any errors, but I haven't verifyed this in the ...
Beginner's problem: A problem with pre-filled forms
Toni -
29 Jul 2006 11:11 AM - 4 messages
Hello! I'm building an application where the user can update his own personal information in a database using a form. The program fetches the user's information from the database, fills the form with this information, then the user makes the changes that he wants, clicks the "Update" button ...
Problem in Deleting Files
Sandeep Singh Sekhon -
29 Jul 2006 10:27 AM - 6 messages
I am Developing a Web Application with ASP.NET 1.1 I have one project Folder which is virtual directory of IIS. In this directory, I have one Folder named Photos in which I used to Store Photos. On my Web Page, I have a button named delete which I used ...
Run Dos command in Asp.Net applications
senthilmuruga -
29 Jul 2006 6:53 AM - 5 messages
Hi Everybody, I have installed CVS which is a concurrent versioning system. I want to execute the CVS commands (DOS based commands) from my Asp.Net applications. Anybody please tell me how to run CVS commands (Dos commands) from Asp.Net! ...
FormView Form
Howard -
29 Jul 2006 6:18 AM - 1 message
I have an aspnet form like this one <form id="Form1" runat="server"> <asp:FormView ID="FormView1" runat="server" DefaultMode="Insert"> .... </form> the html output always becomes ...
Database Authentication (Second Send)
Cindy -
29 Jul 2006 5:18 AM - 3 messages
Hello Experts. I am looking for the exact VB equivalent to the following: How To: Use Forms Authentication with SQL Server in ASP.NET 1.1 [link] ...
positioning data added to a CalendarControl day cell
Dabbler -
29 Jul 2006 4:34 AM - 1 message
I'm loading a calendar with data from a database. It seems that the default formatting of a celll places the date number vertically in the second 3rd of the date cell, with the top and bottom thirds as blank. ...
SQLDataSource control problem
Sean -
29 Jul 2006 4:09 AM - 1 message
Using SqlDataSource controller with sprocs and its been working fairly well. I changed a table by removing a foreign key, removing 2 columns and adding 3. I rewrote the update sproc and works fine as long as I don’t use it on the ...
Show HTML String
Just D. -
29 Jul 2006 3:54 AM - 4 messages
All, What's the simplest way to show my own HTML string on the ASPX page assuming that this page is just created using the wizard and it has nothing on it? We're free to use any control adding it to this page just to show this HTML ...
Calling function using repeater (vb vs. c#)
sck10 -
28 Jul 2006 10:56 PM - 2 messages
Hello, I am calling a function using vb and want to convert it to c#. When moving from vb 1.1 to vb 2.0, I can use the following: text='<%# AddBlankRowMenu(Eval("strMenuType")) %>' to call the function. I no longer ...
editable of Gridview
ad -
28 Jul 2006 10:42 PM - 2 messages
Hi, We can set a GridView editable or deleteable in desgin time. How can I set them in run time? ...
Database Authentication
Cindy -
28 Jul 2006 9:46 PM - 3 messages
Does anyone have a link to some **database** (SQL Server) username/password authentication in **VB** that I can use for my project? Thanks. Cindy ...
Web Part connections & using transformers...
AC [MVP MCMS] -
28 Jul 2006 9:38 PM - 1 message
So when you have two Web Parts that you connect that don't pass data using the same interface, you can create a custom transformer that does the translation for you. All the code samples I'm finding reference adding an entry to the web.config ...
Postcode Distance System
Dave -
28 Jul 2006 8:50 PM - 5 messages
Hi I want to add functionality to my site so that customers can type in a postcode and we can tell them the "nearest store" in our database. I have noticed there are loads of sites on the net that offer this ...
Refering to <asp:...> Controls in Client-Side JavaScript
Alex Maghen -
28 Jul 2006 8:41 PM - 6 messages
I frequently find myself wanting to insert some basic client-side JavaScript functions in the page of an ASPX of mine. But I find it so frustrating that I have to actually contruct my JavaScript in C# on the server-side and render ...
Click Events in programmatically created GridView Template
jtencate -
28 Jul 2006 8:35 PM - 1 message
I am creating a gridview programmatically and am using a Template for one column. The template is derived from a custom class that inherits ITemplate. There are two buttons in the template The problem that I am encountering is that the button click events for the ...
Radiobutton List selection changes mysteriously
K B -
28 Jul 2006 7:47 PM - 1 message
Hi, I have a standard radiobuttonlist control (rbl) in VS2005. I set the values right in the control, not by a dataset. I have 4 items, with index 0, 1, 2, and 3. Since the control does not appear to function correctly (sometimes ...
Export datagrid to Excel with a lot of rows
bnob -
28 Jul 2006 7:44 PM - 3 messages
Hello Here's my code to export a datagrid to Exel : Response.Clear() Response.Buffer = True Response.ContentType = "application/vnd.ms-excel" ...
extern alias in ASP.NET 2.0
Hervé -
28 Jul 2006 7:36 PM - 1 message
I am referencing two different assemblies from a Visual Studio 2005 Web project. These two assemblies have the exact same type name defined (fully qualified name). This gives me a compilation error. To Solve this, I understand that I must use the 'extern alias' feature of C# ...
Using Stored Procedure in SqlDataSource Won't Workd
Dan Sikorsky -
28 Jul 2006 6:50 PM - 10 messages
When I hit the Test Query button in the SqlDataSource design, all the rows come back. But when I run the website, without any changes, in the IDE, the GridView tied to the SqlDataSoure is empty. How do I get this working? ...
Strong Naming a dll and registering in GAC
stephen -
28 Jul 2006 6:30 PM - 2 messages
Hi, I am working with Microsoft Configuration Application Blocks and whenever I create a new app and have to use it, I have to reference it and it makes a local copy in the bin directory. so if i created 4 apps then there are local copies of these blocks... ...
Dynamic DataGrid Columns and ViewState
James -
28 Jul 2006 6:25 PM - 1 message
I have a DataGrid control. I bind it on the initial loading of the page. It has auto-generated columns, they aren't explicitly defined. On the bind, I'm adding a dropdownlist to every column that's generated, in the footer ...
Images don't show after converting web app from VS2003 to VS2005
Tammam -
28 Jul 2006 5:33 PM - 3 messages
Hello, I converted a web solution from VS2003 to VS2005. The conversion process proceeded successfully with no errors and the new VS2005 solution builds with no error. When trying to run it, the images don't show on the web page! The ...
multiple forms through datagrid
Beginner -
28 Jul 2006 5:32 PM - 2 messages
I am a newbie in ASP.NET. I am using VB.NET to write my codes. I have a project to be done this week but I am stucked on one thing. I want to make a datagrid of a form and display the form multiple times with the ...
2.0: simple menu generates error
RAM -
28 Jul 2006 5:31 PM - 1 message
Hello, I have created simple ASP.NET application with master page MIMStock.master: <%@ Master Language="C#" AutoEventWireup="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[link]"> ...
Login Prompt but No Password
-Steve- -
28 Jul 2006 5:26 PM - 2 messages
I have a need to use the <asp:login> prompt but I only want to use the username. There is no password for this particular authentication source, just a private username. Can I still use the <asp:login> control or do I ...
Expression Builder
EAI -
28 Jul 2006 4:23 PM - 1 message
Are there any web based expression builders? I am looking for a simple expression builder that includes RANGES, AND, OR and NOT operations. I searched google and could not find one. Thanks. ...
Getting the values of checkbox(es) checked in a checkboxlist
rishabhshrivastava -
28 Jul 2006 4:23 PM - 3 messages
Hi All, I am using CallBack feature in ASP.NET 2.0 and I am running into a problem with checkboxlist control. I have to find out which checkboxes are checked and get their values at client-side(using JavaScript) but always I get a value ...
changing value of html control from c# code in asp.net website
saurabh -
28 Jul 2006 3:50 PM - 12 messages
Can anybody tell me how to change the value of an html control from the c#.... eg i hv one asp.net radio button control and one html hidden variable... so on page load in case the radio button is checked i want to set this ...
onchange and onclick event
saurabh -
28 Jul 2006 3:39 PM - 3 messages
Hi in my code i have a line Rad2.Attributes.Add("onclick","onchange2();"); This is working perfectly fine.When user clicks the Rad2 radiobutton onchange2(); function gets executed. but in case i replace this line with Rad2.Attributes.Add("onchange","onchange2();"); ...
wildcards in web.config
HankC -
28 Jul 2006 3:22 PM - 1 message
I'd like to limit beta test web access to a group of selected accounts AND any account with TEST_* names in 3 or more domains... Will this work? <allow roles="domain1\_app_TEST_access,wl_*" /> 'group of accounts ...
Change the text in ASP:LABEL
richard@psychocoder.net -
28 Jul 2006 3:15 PM - 2 messages
I have a function Message_Show: Public Sub Message_Show(ByVal sLabel As Label, ByVal sButton As Button, ByVal sMessage As String, ByVal sButtonText As String) If (IsPostBack) Then sLabel.Text = sMessage ...
Problem with .Attributes.Add ("style","overflow :hidden");
SAL -
28 Jul 2006 2:55 PM - 3 messages
I have the following line of code in my Page_Load Event of my ASP.net page: txtExplanationofChange.Attributes.Add ("style","overflow :hidden"); which allows me to can turn off the Scrollbar of my multiline textbox. I am ...
Bit field and ASP.NET
bmayer@mnepilepsy.net -
28 Jul 2006 2:50 PM - 1 message
There is a bit field in a sql server database. I am trying to pull a single row of this bit field out. I can get the database to tell the management console that yes the field is indeed 1/0 or true/false. I am using a stored procedure for ...
Populating a DDL with users from Active Directory
Jim in Arizona -
28 Jul 2006 2:38 PM - 3 messages
My goal, somehow, is to populate a dropdownlist with all the user names in active directory. I don't even know where to begin, really. I added a reference to System.DirectoryServices so I could use the System.DirectoryServices.ActiveDirectory namespace. I don't even know if ...
VB Modules Not Available Globally After Upgrade to 2005
BigJohn -
28 Jul 2006 2:35 PM - 3 messages
I upgraded my ASP.Net 2003 solution to 2005 with very few problems. I have one issue left which I cannot seem to correct. In 2003 I had a VB Module with global functions referenced by my 25 ASPX ...
Formatting number returns blank, not 0
staeri -
28 Jul 2006 2:20 PM - 2 messages
When I print the value returned from a web service in a label I format it with '<%# Eval("Number", "{0:#,###}") %>'. If the value returned is 0 it is shown as blank in the label. How can I change that? It should be shown as 0. I can't change anything ...
Random Server Errors
Flurry -
28 Jul 2006 1:48 PM - 1 message
Hello I'm fairly new to internet programming and have a strange problem. I was hoping someone could suggest possible causes. This is what I've done... 1) I created a simple login aspx page that accepts a username and ...
ASP.NET 2.0 Master page: Where to Set/Get session value?
Managed Code -
28 Jul 2006 1:40 PM - 1 message
Hi all, I've got a DropDownList for the connection string in a master page. Transitioning between content pages causes it to reset to the first value. Under what conditions and where should I do the following? 1 - Initialize the DropDownlist. ...
Removing Web Controls
Webmills -
28 Jul 2006 1:36 PM - 1 message
Hi My master pages have certain sections that may be switched on or off when the page is rendered. Is there any way of removing sections from the page such that their On_Load events do not fire is they are removed? ...
Gridview Row Select
Hutty -
28 Jul 2006 1:25 PM - 3 messages
Hi, I've searched the forum to answers for my particular issue, but haven't quite found anything that could help. I have a gridview with three columns. A B and C. When a row is selected I want to display data from the database based on the intersection of column A ...
How to execute a bat file using VB.NET
wschrap -
28 Jul 2006 1:22 PM - 2 messages
Please, can anyone tell me how to execute a bat file from VB.Net in a web page using a button. We have a policy now that are users must change their Domain passwords every 30 days so I have created a web page that will provide this, however I cant ...
Codebehind vs inline javascript
JJ -
28 Jul 2006 12:53 PM - 2 messages
Hi All, what is the difference of me putting in this onclick event in the actual asp.net page as such onclick="checkFieldStatus(document.forms[0].ctxtMCAmt, this.checked);" compared to me putting this, cbMC.Attributes.Add("onclick", "checkFieldStatus('ctxtMCAmt.ClientID', ...
migrating an app to asp .net
CS -
28 Jul 2006 12:53 PM - 5 messages
We have a huge fat client database enabled application. It is a MDI app with a very rich graphic interface and hundreds of different screens and dialog windows. There is a lot of client side processing, validation, file manipulation even ...
Using TreeView and ListView controls in Web Application
stacy -
28 Jul 2006 12:37 PM - 3 messages
I am attempting to port an application from a Windows app to an ASP.NET Web App. I notice that the TreeView and ListView controls are not part of the tool box on the WebForm. Can someone tell me if I can use these ...
querystrings
Tom -
28 Jul 2006 12:28 PM - 7 messages
I'm converting an .NET 03 app to .NET 05 and the current version passes data via a querystring, in 05 is there a better way to pass data from page to page without using querystrings other then a session variable? ...
firefox bug on menu control
Eirik Eldorsen -
28 Jul 2006 12:19 PM - 2 messages
I've found a bug on the menu control when using Firefox. Where should i report the bug? The bug appears if you click on an level-1 item (horisontal menu), and moves the mousecursor to the popup before the page refreshes. If you do this the ...
Menu control - problem with setting selected item
Eirik Eldorsen -
28 Jul 2006 12:06 PM - 1 message
I can't figure out how to set that an level1 and level2 item is selected at the same time. Is this not possible? Here is my code that set selected item: private void UpdateMenu() { foreach (MenuItem n1 in mMeny.Items) ...
CSS Error in SiteMaps used in Master Pages
DJ -
28 Jul 2006 12:02 PM - 1 message
I am setting up an interface that mimics normal desktop applications for our web app. I use the SiteMap and CSS to create a Menubar, etc. Below it is the normal icon bar. If I use the sitemap in a page without a master page, this all works fine ...
Hide HTML page before IE's done loading?
Lars Netzel -
28 Jul 2006 11:43 AM - 2 messages
I have a pretty big page that on some sloconnections load about 50% of the page and then before the page has finished loading the rest the user changes a dropdownbox that causes a postback and then I of course if face with an ...
DataGrid paging problem with asp.net urgent help
amjad -
28 Jul 2006 11:24 AM - 1 message
I am using Datagrid to upload data from table. every thing seem to be fine using paging. i am using some filter option in which i reload data based on that filter. suppose it return two pages. when i click page two ... for some reason it ...
Build or Publish site? asp.net 2.0
NH -
28 Jul 2006 10:51 AM - 3 messages
I am a bit confused with the difference between building and publishing a website using asp.net 2.0. Currently I build the website up to the server (in the config manager this is in "Debug" configuration). What is the consequence of doing it this way? ...
File upload without Input type=file
Maris Janis Vasilevskis -
28 Jul 2006 10:39 AM - 4 messages
Hi, I create a binary file on client side using ActiveX. Now, I need to upload it. First idea - hidden Input type=file Does not work, because value is read only. A quickly made working solution: Visible input type=file ...
Help! I get System.NullReferenceException
Jeff -
28 Jul 2006 10:23 AM - 2 messages
hey asp.net 2.0 The line "e.Item.Parent.ChildItems.Remove(e.Item);" gives this error: 'e.Item' threw an exception of type 'System.NullReferenceException' System.Web.UI.WebControls.MenuItem {System.NullReferenceException} The is the code where the exception occur: ...
RequiredFieldValidator Control Bug?
Arpan -
28 Jul 2006 9:43 AM - 2 messages
Suppose I have the following RequiredFieldValidator control which validates a TextBox: <form id="form1" runat="server"> <asp:TextBox id="txtVal" runat="server"/> <asp:RequiredFieldValidator id="reqVal" ControlToValidate="txtVal" ErrorMessage="Please enter a value in the TextBox!" Display="Dynamic" ...
Can't load user control with FormView in Atlas update panel
staeri -
28 Jul 2006 9:41 AM - 1 message
I have a simple aspx page containing a FormView which I have converted to a ascx page but when I load this user control it's empty. If I load demo user controls from msdn they show up so the problem is with the ...
Question about JavaScript and ASP.NET
Marko Vuksanovic -
28 Jul 2006 9:26 AM - 1 message
I am trying to notify a user of a fileUpload being in progress, in asp.net page what I have done is: 1. created file upload control 2. created a button (id="upload") that runs a javascript that shows popup ...
onSubmit called by all of my Imagebuttons
graphicsxp -
28 Jul 2006 9:16 AM - 2 messages
Hi, I have a few ImageButton controls on my form. One of them is the save one, on which I want the form to be submited. Other imageButtons trigger a postback, but they should not cause form validation on the ...
Reload Problem
ghostwolf -
28 Jul 2006 9:06 AM - 4 messages
Hi, I'm new to ASP.NET. If the web page is running in server-side, how can I reload the particular section of the web page instead of the whole page? Say, I've separated the web page into several frames and I want to ...
Casting to Interface at design time.
Paul -
28 Jul 2006 9:01 AM - 3 messages
Hi all, I am trying to cast my page to an Interface at design time with no joy. sControl = ((IStatusPage)Page).[Interface code] Despite this page 100% being inheriting this interface it will not work. I really do not want to cast to a class. ...
Individual can't login to our site using IE
Mantorok -
28 Jul 2006 8:38 AM - 1 message
ASP.Net 2005 Hi all We have a website that users can login to, it doesn't use cookies, just session-state, yet a particular user cannot login from IE, he can from Firefox. When a user logs in we store details into the session-state, when this user ...
Control of CSS pseudo elements through a STYLE attribute in .NET framework
Kevin Frey -
28 Jul 2006 7:17 AM - 1 message
WebControl contains properties such as ControlStyle and Style for controlling the style of a web-control. In particular the Style property is a CssStyleCollection that simply comprises key-value pairs. However, I have been reading this: [link] ...
Question about JavaScript and ASP.NET
Marko Vuksanovic -
28 Jul 2006 6:49 AM - 1 message
I am trying to notify a user of a fileUpload being in progress, in asp.net page what I have done is: 1. created file upload control 2. created a button (id="upload") that runs a javascript that shows popup ...
treeview control
mrsh -
28 Jul 2006 6:46 AM - 2 messages
Hi, I need a treeview control which show me every servers on networks and then the user can choose one folder from the tree view. or something like dailogbox in html but the user cann see only folders ? ...
'htmlfile:Invalid pointer'
mehta.chanchal -
28 Jul 2006 6:41 AM - 1 message
Hi, I have an aspx page for which smart Navigation is set to true.I am getting the 'htmlfile:Invalid pointer" at hdm.appendChild(k);. How do i solve this?Needed urgently. Thanks. ...
Problem in naming pages
Avi -
28 Jul 2006 6:05 AM - 1 message
Could it be that there is a problem in selecting page names? I named a page "Profile", and it appears it conflicted with the FCL's Profile class! If so, shouldn't the page names automatically be scoped to some project ...
RegularExpression Validator?
Arpan -
28 Jul 2006 5:48 AM - 4 messages
Consider the following code which validates a TextBox using RegularExpression: <form id="form1" runat="server"> <asp:TextBox id="txt1" runat="server"/> <asp:RegularExpressionValidator ControlToValidate="txt1" ValidationExpression="[0-9]{5}-[0-9]{4}|[0-9]{5}" ErrorMessage ...
DataSet.WriteXML Vs. SQL Server 2000 XML performance issue???
Aryan -
28 Jul 2006 5:27 AM - 1 message
Hi, I have concern regarding two approaches to decide, 1>DataSet.WriteXML 2>SQL Server 2000 to return XML from stored procedure. With Second approach, I have to open Cursor's and nested stored proc calls and have to create temporary tables. while in first approach I ...
Debugging failed because integrated Windows authentication is not enabled
Dariusz Tomon -
28 Jul 2006 5:09 AM - 3 messages
I got an ASPNET C# project from client. When I'm trying to open it in Visual Studio I get error message: "Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help for ...
.PDF conversion
Bob -
28 Jul 2006 2:58 AM - 2 messages
Is there any free C# classes that outputs text and graphics to PDF format? ...
Grid headerStyle not overriding Css page
tshad -
28 Jul 2006 1:31 AM - 2 messages
I have a DataGrid where I want the text in the cells to be black. But I want the header to have a black background and white text. The problem is the settings in the DataGrid are not overriding the Css files ...
Regular Expressions?
Arpan -
28 Jul 2006 1:26 AM - 6 messages
Using RegularExpression, the following TextBox ensures that users enter a valid e-mail address which has a '@' & ends with ".com": <asp:TextBox id="txtEMail" runat="server"/> <asp:RegularExpressionValidator ControlToValidate="txtEMail" ValidationExpression="\w+\@\w+\.com" ErrorMessage="Invalid Email ID" ...
User Controls and Css Style sheets
tshad -
28 Jul 2006 1:04 AM - 2 messages
If I have a User Control with tables in it and a Css Style sheet defined in the .aspx file - will the style sheet apply to the User Control (.ascx file)? If that is the case, if I have a style sheet in the User Control, will that ...
Passing Bound Object value to another Bound Object
Phillip Vong -
27 Jul 2006 10:54 PM - 1 message
Doing this in VS2005. ASPX in VB code. This image details my problem. [link] I have a simple FormView1 bound to a SQLDataSource1. In edit mode, Label1 is bound to a value. Under this, I added another textbox (ID=TEXTBOX1) and another ...
no-cache to force reload new page
tshad -
27 Jul 2006 10:47 PM - 1 message
I am having a problem with a page that loads a user control that absolutely must reload if there are errors on the page. But if you have IE set to never check for newer versions of the page, it ...
newbie: session & URL
Jeff -
27 Jul 2006 9:29 PM - 2 messages
hey asp.net 2.0 I prefer to send parameter between pages in a web application using GET (ex: Default.aspx?id=1) so that the URL becomes unique so the user can add the page to favorites... Because I now uses a sitemap I can no longer use GET. I have to put it in a ...
Custom Control and RequiredFieldValidator.Display
André_Nobre -
27 Jul 2006 9:28 PM - 1 message
Hi all, I´m having a little trouble with a requiredfieldvalitor in a custom control. I put a validator in runtime, as this code: protected override void OnInit(EventArgs e) { if (this.ValidationRequired) { reqField = new RequiredFieldValidator(); reqField.ControlToValidate = this.ID; ...
Class & MasterPage and Page
Stan SR -
27 Jul 2006 9:11 PM - 1 message
Hi, It's maybe a stupid question. I have a class that I call from each of my pages. I would like to know if it's possible to "instantiate" this class from my masterpage and call all the methods and properties from my page ? ...
Programmatically select a MenuItem in Menu control?
Dave -
27 Jul 2006 9:01 PM - 2 messages
Can you select which MenuItem to display through code? Thanks <asp:Menu id="Menu1" Orientation="Horizontal" StaticMenuItemStyle-CssClass="tab" ...
User Controls - Web vs. WinForms
Mark -
27 Jul 2006 8:50 PM - 2 messages
What is the difference between a "user control" for Web Forms vs. Windows Forms? I have extensive use of user controls (.NET 1.1) in Web forms. Just wondering how they differ for Windows Forms. Thanks. ...
Manually authorize user
Brian Vallelunga -
27 Jul 2006 8:50 PM - 3 messages
Is there any way, from an asp.net page to find out if a user is allowed to view some random path based upon their credentials? Obviously this gets done automatically in the UrlAuthorizationModule, but I have a need to check an authorization from a page. Yeah, it's a bit weird, but ...
Start external application on server side
tomi -
27 Jul 2006 8:34 PM - 2 messages
Hi I have an application running on server which sometimes crashes. I need to start it when i find it's not runnnig. I've tried following: Process myProcess = new Process(); // Get the path that stores user documents. myProcess.EnableRaisingEvents = false; ...
I guess a simple question but I cant find it :-(
Klaas -
27 Jul 2006 8:33 PM - 7 messages
I want the backgrond of my whole page in gradient. In the source tab I have: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> ...
Strange code - mystery
jimmyjoe -
27 Jul 2006 8:06 PM - 1 message
xp pro sp2 vs 2005 I'm getting this bizarre error: Server Error in '/CS' Application "System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft Visual Studio ...
Problems with ASP.Net 2.0 and JavaScript
richard@psychocoder.net -
27 Jul 2006 8:03 PM - 4 messages
OK, Im working with a DataList in .Net 2.0, the code shows the list when the query has executed. I have the page feature in its own div and display:none so its not visible until the list shows. Ive written ...
Crashes caused by attempted use of a partially loaded page.
B. Chernick -
27 Jul 2006 7:56 PM - 2 messages
We have some fairly complex ASP/DotNet1.1 screens with lots of validators and javascript. I've received a complaint that pushing a button on the screen before it is fully loaded caused crashes, apparently due to Javascript looking for non-existent objects. ...
Put results of a Function into HTML code
Henry Jones -
27 Jul 2006 7:46 PM - 3 messages
In ASP.NET 1.1, I have a Datagrid and I have the following column: <asp:TemplateColumn HeaderText="ID" ItemStyle-HorizontalAlign="Center" ItemStyle-BackColor="0066cc"> <ItemTemplate> <%# DataBinder.Eval(Container.DataItem,"title_id") %> ...
ASP.NET Web Application help needed
stacy -
27 Jul 2006 7:45 PM - 2 messages
I need to learn how to create a web application, which I am finding much more difficult than anticipated. I have the .net framework V1.1 and had planned to use asp.net, however after purchasing several books, I am no further than I was several weeks ago. I am lacking the basic ...
session expiration
Kasumo Morris -
27 Jul 2006 7:34 PM - 2 messages
Hello all, Here is an interesting question about the asp.net session cookie in an application with forms authentication. In my web.config I have set both the session and forms authentication timeout value to be the same with sliding ...
|
|||||||||||||||||||||||