all groups > asp.net > march 2007 > threads for tuesday march 6
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
Dynamically adding controls
Posted by Chris Botha at 3/6/2007 11:42:49 PM
I am adding controls dynamically to the page as per the samples there are on
the Web and it works - I can create text boxes, buttons, my own user
controls, whatever, on the fly and initialize them and add them to a
placeholder no problem.
However when I post back and the page displays again t... more >>
How do I programmatically (javascript) check if link is valid in html?
Posted by Chandra at 3/6/2007 11:18:37 PM
How do I programmatically (javascript) check if link is valid in html?
... more >>
Visual Studio 2005 Service Pack 1 Update for Windows Vista released
Posted by Mark Rae at 3/6/2007 11:14:51 PM
http://www.microsoft.com/downloads/details.aspx?FamilyID=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&DisplayLang=en
As I understand it, VS.NET 2005 + SP1 + this patch is the first version of
VS.NET on Vista to be officially supported by Microsoft...
... more >>
Calendar Control Won't Show Selected Date if Value Has Time Value != Midnight
Posted by Mark Olbert at 3/6/2007 10:02:00 PM
I just noticed something weird about the calendar control in ASPNET2. If you assign a value to SelectedDate that has a time
component (e.g., 3/1/2007 10:37 AM), and you have a custom style for the selected day, the selected day will not be rendered using
the custom style. Instead, the control acts... more >>
How to build a site search in ASP.Net 2.0?
Posted by Keven at 3/6/2007 9:31:29 PM
Hi,
I was used to build site search from page's <meta ... description ...> and
other <meta ...>. Now there's a site using MasterPage and those pages as
content have no <meta>. Is there a nice way to do the same job?
Thanks
... more >>
How to build a site search in ASP.Net 2.0?
Posted by Keven at 3/6/2007 9:30:33 PM
Hi,
I was used to build site search from page's <meta ... description ...> and
other <meta ...>. Now there's a site using MasterPage and those pages as
content have no <meta>. Is there a nice way to do the same job?
Thanks
... more >>
How to do paging in web service
Posted by Donald Adams at 3/6/2007 8:40:58 PM
I will have both web and win clients and would like to page my data. I
could not find out how the datagrid control does it's paging.
What library/methods can I use in .Net 2.0 to do paging of SQL data in a web
service?
Thanks in advance,
Donald Adams
... more >>
Spreadsheet-like input in web app
Posted by colo at 3/6/2007 8:09:25 PM
Hi,
I'm trying to create a web app that will allow users to input several
rows of data for several columns. Is there a control that simulates
the flexibility of a spreadsheet? This app is currently in excel, as a
series of input templates, and I want to migrate it to web - still
being able to... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
I have no skin upload menu!? why =(
Posted by robert112 at 3/6/2007 7:12:11 PM
Hi all,
I have followed the instructions from here:
http://www.dotnetnuke.com/About/DotNetNukeOnlineHelp/tabid/787/TID/1323/cid/93/Default.aspx
to upload my shiny new skin. The problem is I do not have the menu
options that the website is refering to! My DNN build is 4.0.0.1 and
everything wo... more >>
Custom sitemap provider - how to refresh?
Posted by Anders at 3/6/2007 3:30:59 PM
Hello, i have created a custom sitemap datasource. The sitemap gets all
pages from a collection from a CMS system (not directly from a database).
I have declared my sitemap provider as default in web.config. In the pages I
have a sitemap datasource and corresponding menus.
Question:
- Whe... more >>
customvalidator with SQL
Posted by andrewhharmon NO[at]SPAM gmail.com at 3/6/2007 2:48:01 PM
I am trying to use a custom validator to check if a duplicate email
exist in my database when i use the update button in a datagrid. The
update button calls a stored procedure in SQL that checks for
duplicates and if none are found, updates the database, but if a
duplicate is found, returns the ... more >>
Error in App_Code.fa5u_fw4.7.cs, need help
Posted by Jeff at 3/6/2007 2:44:16 PM
Hey
ASP.NET 2.0
When I compile my webproject in VS2005 I get a compile error in
App_Code.fa5u_fw4.7.cs (I assume this is a tmp file, because none of my
project files has this name)... if I fix that error and do a recompile, then
another tmp file appear with the same error in it...
Any... more >>
Export to Excel clobbers browser history (sometimes)
Posted by Randy at 3/6/2007 2:11:34 PM
I have an application with a datagrid and a button to export the grid
to excel. For the most part this is working fine. Here's the export
method:
Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnExcel.Click
Try
Response... more >>
Adding Record To Datagrid Using DropDownList Fails
Posted by gary.huntress NO[at]SPAM gmail.com at 3/6/2007 12:51:46 PM
I'm trying to add a record to a data grid in a pretty standard
fasion. I have a dropdownlist in my footertemplate:
<FooterTemplate>
<asp:DropDownList runat="server" id="newTitle"
DataValueField="ActiveContentTypeID" DataTextField="Title"
DataSource='<%# GetTitles() %>' />
</Foo... more >>
Issues with Stongly-Typed ObjectDataSource's UpdateMethod
Posted by ross613 at 3/6/2007 12:42:36 PM
I really hope this is not a case of "this silly thing will never
work".....lots of time invested in troubleshooting this already.
I have created a standard ASP.NET web form (.aspx) with several collections
of textboxes prompting for entry into a fairly monolithic database. I
decided to cre... more >>
Invalid Veiwstate
Posted by Jason Wilson at 3/6/2007 12:38:59 PM
I was looking through the windows event long on a webserver hosting an
application that I have in testing right now and I'm seeing this a
couple dozen times a day. I'm not sure how to begin troubleshooting
this:
Event code: 4009
Event message: Viewstate verification failed. Reason: Viewstate... more >>
previewing my image
Posted by rodchar at 3/6/2007 12:35:10 PM
hey all,
i have a file upload control and when i specify a file name to upload, what
would be the easiest way to provide a preview button at this time?
i have the the byteData and i have the directory path to the file (i.e.
c:\test\img.png) but i'm not sure how to get it into an image contro... more >>
Resonse.Write an asp:Checkbox
Posted by Mike Haberfellner at 3/6/2007 11:51:15 AM
....hi everyone,
....i posted this allready, but my newsreader doesn't display it to me - so
i'm sorry if it's posted twice...
hi again,
sorry for not clearly writing what i really need :)
if i have the following in the aspx file
<body>
...
<asp:CheckBox ID="chkMe_One" runat=... more >>
Emails from my page losing images
Posted by tshad at 3/6/2007 11:09:45 AM
I have some emails I am sending from my .aspx pages. These pages are .htm
pages that work fine in outlook and show all my images correctly. But from
my dslextreme and yahoo accounts they don't. I have a "base href" statement
in my page, but for some reason Yahoo and Dslextreme is deleting i... more >>
Page not working from another computer
Posted by srinivas at 3/6/2007 8:53:55 AM
Hi All,
My ASP.net application has to fetch data from Excel sheet.
I'm using HTML File Control to select an excel file.
I'm using Microsoft.Jet.OLEDB.4.0 provider to fetch the data from excel.
Everything is working fine on my machine.
But when my machine is accessed from other machine and t... more >>
ASP.NET 2.0 Tab Control?
Posted by C at 3/6/2007 8:28:15 AM
Hi,
I want to use a Tab control. Is there any available in ASP.NET 2.0? Did a
search and can't find much.
Any info/alternatives appreciated.
... more >>
gridview-delete - "are you sure"
Posted by Mr. SweatyFinger at 3/6/2007 8:23:13 AM
how can i get an "are you sure" message before delete?
thanks
... more >>
Is ATLAS a plug-in of server side controls?
Posted by Carlo Folini at 3/6/2007 8:21:42 AM
Hi,
I'm starting studying ATLAS.
First thing that I'm concerned about is if the ATLAS controls are a
pluggable options for server side controls..
What I wonder is if the case ATLAS extension are turned off and the site
continue to work server side only or the site logic is blocked.
This is... more >>
Readonly bound field returns null in update method
Posted by Ismail at 3/6/2007 8:06:58 AM
Hello,
I have grid view which can go into edit mode. I have fields one of
which is primary key I dont want to display this field but will use
this field in my update method. If I make the bound column readonly i
get nulls if i set visible to false i get nulls. When visible and not
readonly... more >>
Getting the Value of a Checkbox in the GridView Selected Row
Posted by Kirk at 3/6/2007 7:04:08 AM
I have a GridView that displays several columns, one of which is a
checkbox field. This is populated at runtime from a SqlDataSource and
is not enabled (the user can't change it's value). I have turned on
the "Enable Selection" option, and I know I can identify what is the
currently selected ro... more >>
edititemtemplate event
Posted by mdGandhi at 3/6/2007 6:47:45 AM
when i click on the update/cancel buttons in the edititemtemplate, the
update and cancel events do not fire. This is on IE 7. However, this
works fine on IE 6.
Is this a known problem and any workarounds?
Any help will be appreciated.
Thanks
mdGandhi
... more >>
Newbie starting problem
Posted by paul.richards NO[at]SPAM shropshirefire.gov.uk at 3/6/2007 6:40:22 AM
Hi,
If I create a file with this content:
<html>
<body bgcolor="yellow">
<center>
<h2>Hello W3Schools!</h2>
</center>
</body>
</html>
And save it as aspx, when viewed in Internet Explorer it just looks
like:
- <html>
- <body bgcolor="yellow">
- <center>
<h2>Hello W3Schools!</... more >>
after the db
Posted by rodchar at 3/6/2007 5:49:35 AM
hey all,
ok, i have my database locked down as much as i could. certain groups can do
certain things.
now, when i build my web application over this do i have to repeat the
authorization in the code of "certain groups can do certain things"? Or will
the application inherit that from the dat... more >>
Profile. For the Gurus out there. What is wrong here?!
Posted by shapper at 3/6/2007 5:24:22 AM
Hello,
In my Page's VB.NET code I am changing the value of the Profile
property NAME.
Profile.Name = tbName.Text
However, I need to change this property value from a class in my
App_Code so I did:
' Get current username
Dim username As String = HttpContext.Current.User.Identity.Name
... more >>
Custom Control needs ControlToValidate
Posted by Steven Nagy at 3/6/2007 4:23:20 AM
Hi all,
I have a custom user control in an ASP.NET app (.NET 2.0).
This control needs a public property called "ControlToValidate" which
accepts strings.
I need to be able to declare it much as you would with a validator
control, like this:
<asp:Textbox id="myTextbox" runat="server" />
<u... more >>
THE MICROSOFT MASTER PAGES FUDGE
Posted by Mark at 3/6/2007 3:58:23 AM
keywords: asp.net master page rubbish
I have written a custom control. The control is a simple html Tab menu
control. The control inherits from DataBoundControl and implements
INamingContainer, IPostBackEventHanlder and IPostBackDataHandler. The control
is engineered to use a hidden client-... more >>
Create PDF files in ASP.net
Posted by Frankwin at 3/6/2007 3:45:13 AM
Hi,
I was wondering if there is any standard way to create PDF files in
ASP.net. I'm currently using a regular ASP application to generate PDF
files, but I'm in the process of converting the website to ASP.net.
Thanks
Frankwin
... more >>
Web Site As Opposed to Web Application
Posted by goldie11 at 3/6/2007 2:18:11 AM
Hi,
I am trying to figure out the difference between Asp.Net Web Site and
Asp.Net Web Application.
>From your experience, what is recommended - Web Site or Web
Application ?
Thanks so much.
Ruthie - just starting with Asp...
... more >>
FileUpload and shortcuts
Posted by Vit Zayko at 3/6/2007 2:18:08 AM
Hi!
I need to upload a windows shortcut file like *.url for example. Doing
this be regular way I'm getting a html page it's pointed to instead of
its contents. How to upload such files?
Thanks!
Vit
... more >>
griddata paging question
Posted by Esemi at 3/6/2007 2:09:07 AM
I have a gridview that has a datatable bound to it as its datasource. This
data table is created by calling a stored procedure that returns all the rows
that are to be displayed.
I'm having trouble getting paging to work.
How do I use the pageIndexChanging event in this case?
I want to do... more >>
how to get object from gridview control while rendering
Posted by Lucky at 3/6/2007 1:43:12 AM
Hi guys,
i've problem with GridView control as i'm just learing Asp.net i dont
know most of the things.
here, my problem.
i'm using GridView control with Template columns, it looks like this:
<asp:GridView runat="server" ID="GridView1"
AutoGenerateColumns="False" Width="90%">
<Col... more >>
Office 2007 documents not appearing in iframe
Posted by T at 3/6/2007 1:33:57 AM
We've been developing an application for a while which allows display of
office/pdf etc documents within an iframe in a web browser.
However, since installing office 2007 this has stopped working and instead
of them appearing nicely in the iframe they now pop up and appear within the
office... more >>
edit while debug problem
Posted by sujith at 3/6/2007 1:32:43 AM
i was able to change the source code while debugging in vs2003.but in 2005 it
is not possible.How can i edit while debugging in vs2005?... more >>
Web Server
Posted by Gunawan at 3/6/2007 12:00:00 AM
Hi All,
I have a few questions.
1. Is there any other web server that support Microsoft .Net Frameworks?
2. Can I deploy ASP.NET application on Linux?
3. Is there any component or something but manage code to create Excel Files
*.xls?
Thank you for all your concern.
Regards,
Gun
... more >>
Multiple Email Attachments Using System.Net.Mail
Posted by tulasikumar at 3/6/2007 12:00:00 AM
hi all,
i have faced with one problem regarding multiple attachments sending through
System.Net.Mail in Asp.net2.0.Any one Please tell me the solution for
this.Any one have solution for this please send me the link .
thanks in advance
Best Regards,
TulasiKumar
... more >>
Moving "Temporary ASP.NET Files" to a different location?
Posted by Ralf Kaiser at 3/6/2007 12:00:00 AM
Hi,
is it possible to define another place where the "Temporary ASP.NET Files"
are stored?
I do not want to have them on my system partition because i have a separate
partition for all the temporary stuff on a separate physical drive.
Is there a registry entry that defines the place for... more >>
Why is this not working - please check my code - Role, Profile
Posted by Annie at 3/6/2007 12:00:00 AM
Hello guys,
I have set the MEMBERSHIP, ROLEMANAGER and PROFILE in my config file as
below.
I just want to use my own sql server 2000 table instead of MSDB.
I have used the ASP.net Configruation Page to add couple of users
and roles and then assigned the users to roles.
... more >>
|