all groups > asp.net > july 2007 > threads for monday july 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
Newbie question (asp controls and events)
Posted by Grey Alien at 7/9/2007 11:31:42 PM
I have manually added two radio button controls to my Asp.Net webpage
(*.aspx file - souce view). This is the code I added:
(I have not included the <%@PAGE directive and <div></div> for brevity sake)
<asp:RadioButton
ID ="rbtn1"
GroupName = "grp1"
OnChe... more >>
What is the correct way to do this?
Posted by Grey Alien at 7/9/2007 11:30:10 PM
I have created a SQL Server Express db in my ASP.Net website. I have a
file that contains several SQL statements to create tables (100+) and
stored procedures. I am guessing that there has to be a way of creating
the database tables and stored procedures from the file with SQL
statements (ot... more >>
XmlSiteMapProvider: How to hide siteMapNode to a certain role?
Posted by Max2006 at 7/9/2007 8:43:00 PM
Hi,
I need to hide a series of siteMapNodes to certain roles. That means roles
have access to the siteMapNode, but the node doesn't appear on the
navigation menu. I'll use Response.Redirect to jump to hidden pages.
How can I do that? I tried securityTrimmingEnabled="true" in my web.config.... more >>
FrontPage extentions not installed
Posted by Costas at 7/9/2007 7:52:29 PM
Hi,
I tried to create a new web site using VS 2005 on Vista Ultimate. The
server is on a different box and it runs IIS 6. I get the error "unable to
create the web 'http://site'. The web server doe not appear to have the
FrontPage extensions installed'.
I found a KB article about Vist... more >>
ENTER key in TextBox in ASP.NET 2.0
Posted by Benson Wong at 7/9/2007 6:45:54 PM
I add a TextBox with TextMode="MultiLine" so that I can input multilines to
the textbox. That's fine.
When user input <ENTER> as a new line, it is ok during input to the textbox,
but not ok when the textbox content is saved to database (<ENTER> character
seems to be ignored, no new line app... more >>
Data passing betw ASP & ASPX pages
Posted by Vanessa at 7/9/2007 6:40:00 PM
I am not sure should I post it to the ASP or ASP.NET forum, so I posted both.
My company's internal website is written in ASP, and it has couple sections
that link to our internal software via function calls/include statements (The
website itself has a database, while our internal sofware i... more >>
designer file
Posted by TS at 7/9/2007 6:23:36 PM
how do i regenerate the designer file, mine got out of sync and i deleted
it - thought it would create new one.
thanks
... more >>
GridView bound to ObjectDataSource: How to refresh the Data?
Posted by Max2006 at 7/9/2007 6:07:19 PM
Hi,
I have a GridView that is bound to an ObjectDataSource. After some
circumstances, the data behind the ObjectDataSource changes and I need to
refresh the ObjectDataSource. What is the best way to refresh the GridView's
data?
Thanks,
Max
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
problem with programmatically designed dropdownlist
Posted by Dan at 7/9/2007 5:25:02 PM
Hi,
i defined a dropdownlist in code-behind but i can't get the selectedvalue. I
czn't use autopostback because there are other elements in the form to be
filled.
aspx file:
<asp:DropDownList ID="minw" runat="server">
</asp:DropDownList>
<asp:Button ID="Button1" runat="server" />
c... more >>
DataBase Structure
Posted by news.microsoft.com at 7/9/2007 5:23:58 PM
Hi, I need to develop a multi language website (n language). I want to know
which is the best way to do it with sql server.
I have a table for news with the next fields
id
title
description
image
link
How to transform this structure in n language table?
Thanks for all!!
Juan
... more >>
access denied on dll
Posted by Jeremy Ames at 7/9/2007 4:22:11 PM
I am trying to move an application from my system to a new test system. =
I really should have tried an easier program first, but I didn't really =
have a chance. My application was originally written in ASP.NET 1.1, but =
was migrated to 2.0 during development. The reason this is an issue is =
... more >>
Does NetworkCredential itself encrypt user credentials?
Posted by at 7/9/2007 4:03:17 PM
I have a website (call it WinAuthWeb) that uses Integrated Windows
Authentication.
In my ASP.NET web application, I collect user name, password and
domain info and pass them to WinAuthWeb for authentication (formerly
known as NTLM).
I construct the user credentials like this:
theUserCred... more >>
RequiredFieldValidator How To ?
Posted by Stan SR at 7/9/2007 3:46:39 PM
Hi,
Is it possible to configure the RequiredFieldValidor to change the cssclass
of the ControlToValidate if the field is empty ?
Stan
... more >>
beginners question...
Posted by aotemp NO[at]SPAM hotmail.com at 7/9/2007 2:38:39 PM
Hi!
Im trying to so a little something with a control, but clearly I don't
know how to do it.
What I would like to do is have something like... (the variable names
are large here to describe what they do...
<Mine:MyLibrary iNumberOfItemsContainedInDivTagsBelowPerPage="3">
<div> Im #... more >>
Printing from ASP.NET
Posted by Igor at 7/9/2007 2:22:47 PM
Can I print to POS printer (printer for billing reports, bus tickets etc.)
from asp.net aplication? I need to print ticket, then patrial cut and full
paper cut. Can I do this from asp.net page and how?
... more >>
How do you set the forecolor of a disabled linkbutton?
Posted by Allan Ebdrup at 7/9/2007 2:01:19 PM
When I set the forecolor of a linkbutton to red after setting enabled to
false, the linkbutton stays grey?
How do I change the appearance of a disabled linkbutton?
Kind Regards,
Allan Ebdrup
... more >>
Cannot Open Access File
Posted by dancer at 7/9/2007 1:51:55 PM
Using ASP.net 1.1 and Microsoft Access.
I received the following error message. Why? I have closed the Access
file. I have another very small access file that opens with no trouble with
the same code, except a different name for the file.
The Microsoft Jet database engine cannot open the ... more >>
Nested ASP.NET projects?
Posted by Andy at 7/9/2007 1:02:07 PM
Hi,
I have 2 projects, A and B. Can I nest the projects so that project B is in
a subdirectory of Project A?
NB for info: These are both signup projects on a secure server, but while
we're waiting for a new certificate for project B I need to implement it NOW
- so will have to use this sol... more >>
Model View Presenter ?
Posted by Piotr Nowak at 7/9/2007 11:48:51 AM
Hi,
What are best methods to reuse components over all appliaction ?
I found MVP pattern, but do you know any other ?
for example, gridview, i want to reuse this component over and over,
changing data model.. i dont want to do the same code through my
application..... more >>
Is there any type of cache manager?
Posted by bulwark_jrm NO[at]SPAM hotmail.com at 7/9/2007 11:28:10 AM
While debugging, I'm having a caching issue. I'm thinking that it
might be nice if I could just see a page of all cache items, with
related details. This seems like something that would be so easy to
develop, and possibly helpful to a sys admin, that it's probably
already in ASP.NET. Unfortun... more >>
Creating db from SQL statements
Posted by Grey Alien at 7/9/2007 11:06:06 AM
I have created a database (*.df) file for use with my website. I have
files containing DDL and DDM for creating the db schema and stored
procedures respectively. However, I have not (as yet) founs out how to
"import" the SQL statements into the datbase, to create the required
database object... more >>
Procedure searching for inappropriate language
Posted by tshad at 7/9/2007 9:53:34 AM
Does anyone have or know where I can get a some code that will check a
TextBox for inappropriate language.
At the moment, we need to manually check submissions for language before
posting. This takes a lot of time and resources and in some cases a lot of
time before a submission is actuall... more >>
Downloading a file from a server that requires a digital certifica
Posted by Eddie Lascu at 7/9/2007 9:52:00 AM
Not sure this is the right place to ask my question, please bear with me.
After reading the question, if you think there should be a different place
let me know.
I need to automate a daily download of a file from a server that requires a
digital certificate. I installed the certificate so n... more >>
VB and C# in ASP.Net
Posted by Arne Garvander at 7/9/2007 9:14:01 AM
I would like to put two sub folders in app_code;
one called VB and one called CSHARP.
Can I put some compile directive in Web.Config to invoke the vb compiler for
the app_code/VB directory and the C# compiler for the app_Code/CSHARP
directory?
--
Arne Garvander
(I program VB.Net for fun an... more >>
From C# to VB
Posted by Arne Garvander at 7/9/2007 9:10:04 AM
I need to translate this code snippet to VB.
void Page_Init(object sender, EventArgs e)
{
Page.InitComplete += new EventHandler(InitializationComplete);
}
How do I do that?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)... more >>
reference profile in class
Posted by Yankee Imperialist Dog at 7/9/2007 9:10:04 AM
I'm attempting to reference a profile item i set in a class
for some reason profile.myitem will be seen in a code file for a page, but
not in the class. Anyone know how to reference items in a class?
In this case: Profile.FirstName = "myName" is ok in xxx.aspx, but not in
myClass.vb
Thank... more >>
array to listbox
Posted by Mike at 7/9/2007 8:45:02 AM
I'm passing an array to a listbox such as (1,2,3,4,5,6,7), I want to
highlight (select) all the items in the listbox were the value equals
(1,2,3,4,5,6,7). I'm able to only get the last value selected, how can I get
all of them selected?
The listbox selectionMode= mulitple
for (int i = 0;... more >>
SMTP Emailing with CDOSYS
Posted by Rob at 7/9/2007 8:30:03 AM
Hi,
I'm use to using the old CDONTS for relaying email forms with ASP pages but
now the Webhost does not support it and I have to use CDOSYS. Do I have to
convert all my pages to ASPX in order to use CDOSYS or can I still use the
ASP extension and still be able to relay SMTP emails? If I ca... more >>
Loop over DataTable to edit 'bad' columns
Posted by Mike D at 7/9/2007 8:24:01 AM
I have a DataTable (over 32,000 rows) with 19 columns of which I need to fix
some data in two of them in order to import the data into a SQL table. I
have a for loop but I can't figure out the if statement to find the 'bad'
columns so I edit them. This is what I have but it isn't working.
... more >>
Some controls cannot RenderControl
Posted by Josh Carver at 7/9/2007 7:46:48 AM
Hi group,
I'm trying to get the outputted html from some specific controls on a page,
and I'm finding that some controls will render fine, while others will throw
the error that "[control] must be placed inside a form tag with
runat=server." For example, a label control will render fine, b... more >>
calling java class from web page
Posted by VB Jonnie at 7/9/2007 6:16:02 AM
ASP.NET 2.0 / Visual Studio 2005 / VB.Net 2.0
I have a web interface that needs to launch a java application.
What a long strange trip it has been...
I am using Process.Start process start info parameters, first to launch the
java app by itself with the call:
"C:\Program Files\Java\jdk... more >>
Master page postback.. !IsPostback doesnt work
Posted by anthonykallay NO[at]SPAM googlemail.com at 7/9/2007 2:54:19 AM
Hi there,
I dont this this a bug but i cant get my head around it.. I have a
master page that has a login control on it, to log in i press the
button and the page posts back, however on the page that is derived
from the master page (default.aspx) i have code that i dont want to
run after the ... more >>
A bit of Architecture advice.. One code.. Multiple sites
Posted by anthonykallay NO[at]SPAM googlemail.com at 7/9/2007 2:20:13 AM
Hi there,
I am building a website for a group that has 4 companies under it. The
sites are fairly similar so i want to be able to use the same set of
code in the App_Code folder.. I also want to share controls between
the sites. What i am after is a bit of advice as to best practice to
achiev... more >>
Creating instance of another page class to access the control tree
Posted by Willy Van den Driessche at 7/9/2007 12:53:11 AM
Hello,
I am writing (Yet Another) Content Management Application. To make it
easier for the end-users, I would like to retrieve the structure of the
website. To do this, I would like to "walk the tree structure" of the
website. The structure of the site is inside custom ASP controls in the... more >>
|