all groups > asp.net > april 2006 > threads for wednesday april 26
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
validation control error message
Posted by TARUN at 4/26/2006 11:18:33 PM
Hello All
I am Stuck in a silly Problem, as I don't have much experience in Web
Technology, so Please Excuse me for raising such a questions.
I am creating a logging Page, I used Regular Expression Validation. As
below
<asp:textbox id="EnterName"
Runat="server"></asp:textbox><asp:reg... more >>
SelectedIndexChanged Event of Dropdownlist on a DLL..
Posted by den 2005 at 4/26/2006 11:02:02 PM
Hi Everybody,
I like to know how to make the SelectedIndexChanged event of dropdownlist
inside a DLL class works? Please provide actual codes? The DLL is like
DateTimePicker. This dll is used for selecting date but I need to filter the
days for specific month selected. For example, March... more >>
How to Display an image, from a DB, into the Gridview (ASP.NET 2.0)
Posted by Auto at 4/26/2006 10:34:11 PM
Hello,
I would like to know how do display an image into a Gridview (ASP.NET 2.0)
taken directly from a DataBase, NOT using an URL, like described in this
article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/GridViewEx06.asp
I have NO URL, i have the binar... more >>
Javascript And Webservices
Posted by PeReGrin at 4/26/2006 9:36:48 PM
Hello asp World,
Does someone know how to call a webservice in javascript ?
I just want an idea or a big way ...
Thanks for all,... more >>
Handling hyperlinks in gridview
Posted by Ram at 4/26/2006 8:42:51 PM
Hi,
I am using hyperlink column in the gridview control. When I click any
of the hyperlinks , the values appear in the Url, which can be tampered
easily.
How I can pass values to the next page without using querystring in
Gridview control?
Please help me . Thanks in advance.
-... more >>
Open htm and asp pagen inside an .NET aspx project
Posted by Erik at 4/26/2006 8:01:22 PM
Hi guys, someone know how could be possible open an htm page or asp page
(created for example using frontpage) inside an aspx page (created using
..NET 2005)?
I have a populated list box on the left of my aspx page and any time that
the user chose an item on it I have to change the htm/asp pa... more >>
2.0: CompareValidator with Type
Posted by R.A.M. at 4/26/2006 6:37:34 PM
Hello,
(Sorry for my English...)
Could you help me please? I have a problem with CompareValidator
control which makes the load of my page infinitive. Here's the code:
Date of birth: <asp:TextBox ID="BirthDate" runat="server" />
<asp:CompareValidator ID="BirthDateValidation" runat="server"
... more >>
different asp pages, same code
Posted by tshad at 4/26/2006 6:10:15 PM
I want to set up a section of an asp.net page (the content portion) to be
generic.
I want to be able to set up custom pages for different companies to use our
site where the they can use their own look an feel (top and left side of
page). But I want my objects and code to work in the conte... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Know about news groups of visual studio.net 2005
Posted by Micheal at 4/26/2006 5:53:28 PM
Hi,
I want to know about news groups of visual studio.net 2005 .
regards
micheal
... more >>
anyone knows if there is a portal starter kit for asp.net 2.0
Posted by eric34 at 4/26/2006 5:21:02 PM
Hello,
I am looking at building a portal, and would like to make sure I pick th
eright technology. I have seen that asp.net 2.0 embed the notion of portal,
and figured that may be it would be the way to go. But I have discovered that
there is only a Portal starter kit for asp.net 1.1 and not... more >>
How do I access the DOM objects using javascript.
Posted by Steve Kershaw at 4/26/2006 4:57:31 PM
I have a problem in that I need to access the value (text) in an
asp:textbox using javascript. Is there any way to do this or am I all
wet? Do I have to use VBScript to access asp: objects?
Thanks in advance for your help!
Steve
... more >>
Debugging: Attach to remote process, no more Module list
Posted by Martin Simard at 4/26/2006 4:50:50 PM
Hi all,
In VS 2003, when I attach to a remote process for debugging, I can see the
list of modules loaded by the process before attaching to it. This list is
not there anymore in VS 2005. Instead, I just have a warning for security
reasons and 2 buttons (Attach | Don't attach).
Let me ex... more >>
VS 2005 pb on web site publish
Posted by WT at 4/26/2006 4:49:01 PM
Hello,
I have been publishing my web site many times to the remote where resides my
final web site.
Everything was ok, but to-day, without any configuration change, vs doesn't
copy final files to the remote site.
It finish with a message of publish sucess but no files nor folders on the
r... more >>
How to keep impersonation?
Posted by Joris De Groote at 4/26/2006 4:47:10 PM
Hi,
I have impersonated a user. I can access a database trough my page with my
impersonated user. However, I want my impersonated user to open a PDF file
and there I'm back with my normal user instead of the impersonated one. How
can I keep that impersonated user and not go back to the asp.... more >>
Microsoft Forum Software
Posted by Bill at 4/26/2006 4:18:44 PM
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.pocketpc.developer
Can anyone please tell me what forum software does Microsoft use for that forum?
It's a nice design, I'd like to use it myself!
Bill.
... more >>
parsing the html page
Posted by Ravindra at 4/26/2006 4:18:38 PM
Hi all,
I want to parse the html webpage and copy the content of that page in my
application.Can anyone help in this.very urgent.
cheers
ravindra
... more >>
asp:checkbox hide/show text/fields when it's clicked without doing a postback?
Posted by UJ at 4/26/2006 3:49:57 PM
Is there a way with a asp:checkbox to run a JavaScript to display/hide
text/input on the screen without doing a postback?
I also need to be able to access the stuff at the server so I need to have
run=server with it.
TIA - Jeff.
... more >>
sending pdf content to the browser
Posted by Joel H at 4/26/2006 3:45:01 PM
I have pdf files stored in a database image field. I need an aspx page that
will send the pdf to the browser. The code I have (in the page_load event)
works the first time I run it:
[code to query database and put pdf contents into bytearray ba, with length
K omitted]
Response.ContentTyp... more >>
Relitive or absolute path HELP
Posted by Michael at 4/26/2006 3:30:01 PM
Hi,
For a home project I'm working on, I'm trying to get access to images within
the web path, but the images don't show and I thing its because of the paths.
Here is the dir structure:
wwwroot
App_Code
UserControls
ProductPictures
Now, the problem is that I've created a User control... more >>
Response.OutputStream truncates XmlTextWriter?
Posted by richardtallent at 4/26/2006 3:14:31 PM
(ASP.NET 2.0. Issue presents both on my copy of IIS on my workstation
(XP Pro) and my production server (Win2k3). I don't use any proxy
servers, anti-spyware apps, etc. Problem occurs using IE6SP2 and
Firefox 1.5.02.)
I'm writing large, sever-generated XML files to the browser.
This method ... more >>
intercept shutdown of a IIS garden process to terminate a bkgd thr
Posted by Benny at 4/26/2006 2:49:02 PM
I have a ASP.NET webservice and it is configured to run in a web garden with
multiple processes.
Whan a process in the garden is launched, I want the process to create a
background thread. When request are received by this instance of the garden
process, a meessage is posted to the backgro... more >>
CreateDirectory
Posted by rodchar at 4/26/2006 1:25:02 PM
Hey all,
is there a way to use System.IO.Directory.CreateDirectory on asp.net where
it creates it on the client?
thanks,
rodchar... more >>
.NET 2.0 datalayer/business layer
Posted by CSharpguy at 4/26/2006 1:12:02 PM
I'm looking to create a project that just has our business layers and
datalayers in it so more then one project can use it. My question is I want
to use TypeDatasets, is the creationd of typedDataSets the same as it was in
03 and were can I find some information on datasets in 05?
... more >>
Problem converting from 1.1 to 2.0 & VS 2003 to VS 2005.
Posted by Blasting Cap at 4/26/2006 12:51:53 PM
I had a copy of a project that was working in Visual Studio 2003 and
Framework 1.1.
After a computer crash, I was given VS 2005 and am having more than a
little difficulty getting things to open in VS 2005.
At first, I tried converting the project. That failed (it brought in
all the jun... more >>
Access hidden controls on ascx page
Posted by krallabandi NO[at]SPAM gmail.com at 4/26/2006 12:34:24 PM
I have a hidden control
<input id="FieldSortOrder" type="hidden" name="FieldSortOrder"
runat="server"> in a ascx page. I want to store some value in this
control in the code behind page.
FieldSortOrder.Value = "xyz"
I am getting compilation errors - 'FieldSortOrder' is not declared.
The... more >>
Creating controls at runtime or designtime
Posted by Varangian at 4/26/2006 12:24:17 PM
Hello
is creating controls at runtime the same as designtime ?
will a page be faster if controls are created at designtime rather than
at runtime ? If so why ?
thanks :)
... more >>
Passing data to another project
Posted by Vik at 4/26/2006 12:21:35 PM
From a Web page, I need to open another page created in another project and
pass some object (a database connetion) to that page. Looks like the second
project has its own Application and Session states.
Thanks.
... more >>
createuserwizard control - adding additional fields
Posted by vtxr1300 at 4/26/2006 12:15:40 PM
I am working with one of the .net starter kits and it uses the
createuserwizard control. That's fine, but it doesn't include a field
for first and last name. On another thread on asp.net, they suggested
using the profile in the web.config to create firstname and lastname
properties and then ha... more >>
threading question
Posted by Oleg at 4/26/2006 11:57:02 AM
Let's say I have a thread, long running, span by page1.
I'm redirected to page2.
In order to stop process in the thread i need to send command.close().
Q: can i store a reference to a command object in the Session variable and
how?... more >>
Problem with perl, cgi & pdf
Posted by byrapaneni NO[at]SPAM gmail.com at 4/26/2006 11:52:21 AM
Hello all;
I gathered information from this and several other groups to write a
perl & cgi script to display a pdf document. My script works partially
and found an issue when testing.
Here is my script:
===============================================================
#!/bin/perl
use CGI qw... more >>
Can't add items to dropdownlist
Posted by Michael at 4/26/2006 11:52:02 AM
Hi again,
I really hope that there is a simple solution to this one, cause I'm having
simular things happening to other controls on this usercontrol. I have the
following control:
<asp:DropDownList ID="cmbOptions" runat="server" Width="195px">
<asp:ListItem Text="S... more >>
ConfigurationSection with duplicate keys?
Posted by Dabbler at 4/26/2006 11:31:01 AM
I'm trying to setup a email info config section like:
<contactForm>
<email>
<add key="toaddress" value="he@hishost.com;" />
<add key="toaddress" value="she@herhost.com;" />
<add key="toaddress" value="it@itshost.com;" />
<add key="subjectprefix" value="webs... more >>
How to edit in GridView using asp:BoundField-Urgent pls. reply asa
Posted by SDRoy at 4/26/2006 11:29:02 AM
Hi
I am using asp:BoundField code for my GridView Control. Something like:
<asp:GridView ID="GridView2" runat="server" AutoGenerateEditButton="True"
OnRowEditing="GridView2_RowEditing">
<Columns>
............................
............................
... more >>
FormView ObjectDataSource FormParameter can't find textbox if inside asp:table
Posted by hooterbite NO[at]SPAM yahoo.com at 4/26/2006 11:18:40 AM
I am using an object datasource to call a stored procedure to update an
SQL table.
THE STORED PROCEDURE WORKS FINE!
THE OBJECTDATASOURCE WORKS FINE!
When the textbox is inside a standard HTML tag <table>, it passes the
value of the textbox to the stored procedure, as expected.
When the textbox... more >>
Using FindControls and Type casting
Posted by Michael at 4/26/2006 11:16:01 AM
Hi Everyone,
I'm working on a sollution to one of my problems and have come across this
sample
Dim mySearch as POSearch = ctyap(Page.FindControl(POSearch1),
me.POSearch)
mySearch.Search(str)
"they sugested getting a reference to the user control before setting
properties like visible, one ... more >>
Login Control - Use a multipart account number instead of a name
Posted by jj at 4/26/2006 11:11:37 AM
I have went through the exercise of creating a login page using the
standard user/password and the Login Control for asp.net 2.0, but now I
have a requirement for a multipart account number [dddd][dd][dddd][d]
which will consist of four fields all numbers for the login instead of a
username.... more >>
provider for membership feature
Posted by Carlos at 4/26/2006 10:59:43 AM
Hi all,
I decided to learn about the membership feature in asp .net 2.0, and was
able to use my local instance of sqlexpress to create an aspnetdb under my
app's App_Data directory. I used the wizard in the configuration tool to
create users and roles. However, I am not able to see this d... more >>
problem populating gridView on dropDownList
Posted by bill tie at 4/26/2006 10:51:02 AM
I have two dropDownLists A and B outside a gridView.
A selection made in ddlA causes ddlB to be populated with data from the
database. The gridView is populated with data according to a selection in
ddlB.
ddlA --> ddlB --> gridView
When a user selects an item in ddlA, I want
(a) th... more >>
Access DSN Connection String
Posted by madfisher at 4/26/2006 9:46:20 AM
Hi,
I'm trying to set a conection string for my Access DB and I want to use
a DSN.
This is what I'm using:
this.oleDbConn.ConnectionString =
@"DSN=wedding;Uid=Admin;Pwd=;Provider=""Microsoft.Jet.OLEDB.4.0""";
However this is not working and I'm getting the following error.
System.Da... more >>
Virtual Directories
Posted by Chuck P at 4/26/2006 9:15:53 AM
Using vs05 and making an asp.net 2.0 website.
We use VSS and have everything organized like this
SolutionName
Documents
Code
WebProjectName1
WebServiceProjectName1
The issue we have is that on our production website we have some
directories off of the root
\
Style... more >>
How to export image to Excel document
Posted by wubin_98 NO[at]SPAM yahoo.com at 4/26/2006 9:10:01 AM
Hi,
I want to export a gridview data and a image from image control to
export to an Excel document.
When I executed following code, GridView data was exported to Excel
properly. But no image was displayed in Excel. Only a blank image icon
was show inside Excel.
Could any body point out w... more >>
Running ASP.NET with IIS on Windows 2000
Posted by Darren Halliday at 4/26/2006 8:24:02 AM
I am having difficulty setting my Windows 2000 machine to run ASP.NET files.
I have installed IIS
I have Installed the .NET Framework 1.1
I try to create an ASP.NET Application from Visual Studio.NET 2003
I create the project using the location:
http://localhost/WebApplication1
I get the... more >>
.net 2005
Posted by zahidsir NO[at]SPAM gmail.com at 4/26/2006 8:23:46 AM
what are the latest/greatest features in .net 2005?
I will appreciate if you could provide links to some recorded webinars.
Thanks.
... more >>
Page hangs on resize
Posted by Tamichan at 4/26/2006 8:20:01 AM
If anyone can point me in the right direction it would be most appreciated.
I find that if I change the page size, either maximize or restore down, my
web app freezes. I've put breakpoints in every conceivable place. There's
nothing in the event viewer. I know there is an error somewhere, ... more >>
Programmatic logout
Posted by myzm at 4/26/2006 8:02:55 AM
I want to provide a menu for user to log out system after they logged
in using the Login control. Nowhere I can find information about
programmatic logout. Any help? Thanks.
... more >>
can I have both asp.net 1.1 and 2.0 registered with IIS?
Posted by eric34 at 4/26/2006 7:17:01 AM
I am trying to play with ASP.NET 2.0 but also have to keep my legacy dev
ready to use:
Visual Studio 2003 + asp.net 1.1 + IIS on XP
and would like to play with
Visual Studio 2005 + asp.net 2.0 on the same box with the same IIS.
is that possible? How will IIS know to use CLR 2.0 or 1.1 for ea... more >>
Connecting to a Database
Posted by oskermayor at 4/26/2006 6:15:02 AM
I forgot to mention that the database I am trying to connect to is
stored locally on the computer.
oskermayor wrote:
> [B]I have tried using the code that was listed there but i get
> errors. I am a novice at this, and was wondering if maybe someone
> could step me through it. Thank you.
... more >>
Connecting to a Database
Posted by oskermayor at 4/26/2006 6:05:01 AM
I have tried using the code that was listed there but i get errors. I
am a novice at this, and was wondering if maybe someone could step me
through it. Thank you.
Greg Young [MVP] wrote:
> [B][url]http://www.connectionstrings.com/[/url]
>
> look under SqlServer 2005
--
osker... more >>
Impersonating
Posted by Leonardo Arena at 4/26/2006 5:29:02 AM
We have an Index Server on Win2k Server SP4 indexing about 250.000 docs.
We have written an ASP.NET serch page, setup a new virtual directory, and
set to use .NET framework 2.0.
On the server is installed also .NET framework 1.0, for the rest of the
Intranet.
The search page is setup to imper... more >>
Cross Browser?
Posted by CMM at 4/26/2006 5:28:58 AM
So I'm half way through overseeing a large project in ASP.NET 2.0. My
superiors have decided that it would be nice if we ensured the site worked
on all the major platforms (as they see it: IE, FireFox, and Safari). We've
made heavy usage of the new MENU control and other intrinsic 2.0
contro... more >>
Creating atlas:UpdatePanel inside asp:Panel
Posted by Varangian at 4/26/2006 5:05:39 AM
Hello
How can I create an Atlas UpdatePanel inside a Panel at runtime? This
UpdatePanel will have inside it an ImageButton as well. Anyone knows?
thanks
... more >>
GridView Gridlines
Posted by Mike P at 4/26/2006 3:38:36 AM
I set Gridlines="None" and I still get gridlines in my GridView. Is
there anything else that you need to do to totally remove gridlines?
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Can't change the border style of an Dropdownlist with C#?
Posted by Patrick at 4/26/2006 2:50:01 AM
Hello,
I want to change the border of an asp-dropdownlist via C#.
With ddl.CssClass = "empty"; I want to change the border of the DDL to
red, but it works only in Firefox not in Internet Explorer.
Why not?
The according stylesheet looks like this:
font-family:Verdana, Arial, Helvetic... more >>
How to capture the value of html check boxes created dynamically
Posted by muthu at 4/26/2006 2:42:47 AM
Hi freinds,
In my aspx page i have generated some check boxes dynamically
using dhtml.
When i check any check box and submit the form,how can i capture the
value of check box.
How should i identify wich check box is been checked.And the check
boxes are not server controls.They are the o... more >>
GridView question
Posted by Mike P at 4/26/2006 1:52:09 AM
I have a grid view with a button field that when clicked I want it to
redirect to another page, passing the primary key of the row with it.
This was a pretty easy thing to do with the DataGrid, but it is so far
proving a pain with the GridView.
Here is my button :
<asp:ButtonField ButtonTyp... more >>
Caching - Please Help
Posted by Webmills at 4/26/2006 1:49:24 AM
Hi
I have a menu bar user control whose content depends upon the value of
two session variables, one of which determines whether the user is
authenticated, the other whether the user is an administrator.
Is there any way of caching this menu bar using the OutputCache
directive? I have spent... more >>
Textbox and Button Controls Question
Posted by R Tipton at 4/26/2006 1:47:16 AM
I have a simple web form with a textbox and a button and further down
another textbox and button. My problem is even though I have my cursor
placed in the second textbox, the first button is active. No matter what
textbox I place the cursor in the first button on the page is active.
Is th... more >>
support language
Posted by sachin_himcs at 4/26/2006 12:22:42 AM
sir
is .net support java ?
thanks
--
sachin_himcs
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
... more >>
the best way to redirect to another website
Posted by Dav Tan at 4/26/2006 12:01:34 AM
Hi,
I need to pass some secure information (using ssl) to another website
(different domain) and at same time redirect user to that site. What is the
best way to do it? Thanks.
DT
... more >>
More master page woes!
Posted by William Buchanan at 4/26/2006 12:00:00 AM
Hi folks
I have a "Search" text box and LinkButton in my master page. When this is
submitted, I do a Server.Transfer to a page which contains a gridview. The
gridview is filtered on a hidden field which I set in the page load method
(from the search text box text).
Now, the grid view app... more >>
Image Upload problem - tearing hair out here!!
Posted by Neo Geshel at 4/26/2006 12:00:00 AM
I am doing something wrong, but I cannot tell what. Either the web=20
browser is failing to upload the file, or the script is failing to catch =
it. Either way, PostedFile is ending up empty.
First of all, I must specify a few things.
EVERYTHING IS SET UP IN THE CODE-BEHIND. THAT INCLUDES ... more >>
ASP.NET 2.0 Menu and Mozilla
Posted by CMM at 4/26/2006 12:00:00 AM
The menu control in asp.net 2.0 displays very nice "scroll" buttons when
submenus spill past the viewable area of the page. However, these don't show
in Mozilla FireFox. The menu is obscured and there is no way to select items
that are past view. Anyone know of a workaround (other than using a... more >>
|