all groups > asp.net > april 2007 > threads for monday april 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
Timer for Data Fetch?
Posted by lucius at 4/9/2007 9:54:21 PM
With ASP.NET/Framework 1.1, I would like to have a class that
instances on application startup, and every 60 seconds after that does
some work (actually a database fetch). Then any .aspx/.asmx page could
go to that global instance instead of fetching the data themselves.
Can anyone show an e... more >>
This code crashes, what am I doing wrong????
Posted by Jeff at 4/9/2007 6:58:53 PM
ASP.NET 2.0
This code crashes. It generate this error:
Value cannot be null.
Parameter name: type
I've created some custom web.config settings and this crash is related to
accessing theme custom settings. This code is where the crash occur:
_instance =
(DAL)Activator.CreateInstance(Typ... more >>
How to save chart properties in xsl file ?
Posted by SM at 4/9/2007 6:52:01 PM
Hi,
We have developed an application that transforms xsl into excel file and
present xsl file to the user with data. We use open xml features of excel
2003. Our user is now asking for a chart to be part of transformed xl file.
We tried to save the chart properties in the xsl and it is not s... more >>
Disable Word Alerts
Posted by Badis at 4/9/2007 5:14:01 PM
I'm using automation for mail merging but the process hangs because at some
stage some alerts may come around!
I have tried:
wrdApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone;
&
wrdApp.DisplayAlerts =0;
all I need is to produce a word document and save it in the back end. I
don't n... more >>
Consuming NOAA XML web service
Posted by xml .NET group at 4/9/2007 4:58:16 PM
I am trying to consume web services at
http://www.nws.noaa.gov/forecasts/xml/
using the web reference
http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
My code is as follows:
gov.weather.www.ndfdXML proxy = new gov.weather.www.ndfdXML();
string xmlData = proxy.NDFDgenByDay(4... more >>
Open Another webform without closing the current webform ?
Posted by Luqman at 4/9/2007 4:14:19 PM
How can I open another WebForm in ASP.Net / VS 2005 without closing the
Current Webform.
I tried using Server.Transfer("Form2.Aspx",True) on Button_Click of Form1
but it close the current web form and opened the form2, and when I click on
the button on form2 which had Server.Transfer("Form... more >>
Response cutting off
Posted by Paul at 4/9/2007 3:05:43 PM
Hi all,
I'm probably missing something obvious here, but occasionally the
response stream for pages on my site is cutting off leaving incomplete
HTML and an ugly page.
Response.Buffer is set to true - is there anything else that would be
causing this?
I'm using ASP .NET 2.0 on a Win 2K3 ... more >>
Error Rendering Control: unable to cast object of type "System.Web.UI.Page"
Posted by epatrick NO[at]SPAM yahoo.com at 4/9/2007 2:19:05 PM
I have a series of custom controls developed under ASP.NET 1.1, and
I've successfully migrated to ASP.NET 2.0. I have also developed a
custom class dervied from System.Web.UI.Page, called qbo.Web.Page.
All of these controls compile and run correctly under ASP.NET 2.0.
However, several of thes... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
databinding
Posted by Pen Juan at 4/9/2007 2:04:01 PM
Can '<%# Bind("Image") %>' (or Eval method) to insert and select varbinary
datatype ?
Thank you.
--
Pen... more >>
Path.Combine equivalent for URLs?
Posted by Brian Vallelunga at 4/9/2007 1:46:03 PM
Is there a way to easily combine two parts of a url? Something like
Path.Combine for system files would be perfect.
So if I have:
string s1 = "http://mydomain.com/"
string s2 = "/hello/image.jpg"
I would want the combination to not have the double '//' in the middle
that a normal concate... more >>
Passing data
Posted by Ludwig at 4/9/2007 1:30:56 PM
I have a user control news.ascx that lists news items, and it has
add/edit/delete linkbuttons.
This user control is on the default.aspx page together with other user
controls.
When the edit linkbutton for a news item is clicked, it redirects to
another page news.aspx, the news user control... more >>
read a web directory
Posted by GenCode at 4/9/2007 12:55:12 PM
What is the best way to read a "readable" web directory...
I know I can do this
Client.DownloadFile("http://www.mydomain.com/readabledir/", c:\
\dir.txt");
But that gives me the html and all the other tags...all I want is a
directory listing of all the *.gif in this dir and not all the ht... more >>
Newbie!!!Cannot retrieve selectedvalue of a dynamically created dropdown on postback
Posted by AlecL at 4/9/2007 12:52:24 PM
Please help!!!
I am creating dropdownlists, the number of which and its listitem is
determined on the value of other controls. The dropdowns are created
fine in a place holder, but when I go to retrieve the selectedvalue
like this:
sMentChildGender = CType(Page.FindControl("ddlMentChildGen... more >>
Password Reset formatting in PasswordRecovery
Posted by rory.groves NO[at]SPAM gmail.com at 4/9/2007 12:12:12 PM
Is there any way to alter the format of reset passwords in ASP.NET?
I get passwords like
J@3F8*ZVcgqRhE and (HXBp:Rk7p_q=x
which are rather cumbersome to enter on a mobile device, which my
application runs on.
It would be much preferrable to pull from a random list of words, or
at a mi... more >>
Page-Specific maxRequestLength
Posted by Eric at 4/9/2007 10:56:14 AM
Hi All,
I am working with an ASP.NET website with .NET 1.1. I want to increase the
maxRequestLength value for *only* a single page (therefore, I can't set the
new value in machine.config or web.config because doing so would affect
*all* pages). I can't figure out how to do this... is ther... more >>
encrypted password
Posted by bbawa1 NO[at]SPAM yahoo.com at 4/9/2007 9:57:13 AM
Hi All,
I have a login status control in my aspx page and I want to encrypt
the login passward and compare with encrypted tbUsers.UserPass where
tbUsers is the name of my table and UserPass is my field name.
Really Thanks in advance.
... more >>
Accessing input values across controls
Posted by Greg Stevens at 4/9/2007 9:56:10 AM
I have an ASP.NET page with a form that contains two user controls:
<%@ Register TagPrefix="x" TagName="c1" Src="ctl1.ascx" %>
<%@ Register TagPrefix="x" TagName="c2" Src="ctl2.ascx" %>
<body>
<form runat="Server">
<x:c1 id="con1" runat="Server">
<x:c2 id="con2" runat="Server">
<form>
</bo... more >>
GridView not paging correctly
Posted by Ronald S. Cook at 4/9/2007 9:05:21 AM
I have an ASP.NET GridView that gets its data from an object (i.e. filling a
datatable, no datasourceid). I have the PageIndexChanging event captured
and have the following code in it:
gdvProduct.PageIndex = e.NewPageIndex;
gdvProduct.DataBind();
But I'm getting a blank page when I g... more >>
C# Web User Control help
Posted by rodchar at 4/9/2007 8:18:00 AM
hey all,
I have web user control (c# code-behind) and i'm trying to create a property
that will provide the user with a drop down list of values inside the
property box for that web user control instance and I'm having trouble with
the syntax, can someone please help me?
thanks,
rodchar... more >>
Address book data lookup (maybe javascript)
Posted by Radu at 4/9/2007 8:07:29 AM
Hi. I have the following problem - I need to build a user-control in
asp.net (an ascx) to somehow allow the users to search by first name
or last name among a big (~10.000 records) email addresses database
(SQL server table). I am thinking of allowing them to type something
in EITHER the last na... more >>
String Array in ViewState???
Posted by Todd Jaspers at 4/9/2007 8:04:05 AM
Hey guys,
Can anyone tell me how I can do THIS (see code below) but in a STRING
ARRAY instead? I really appreciate any help. I'm using C# in VS2005.
public int intTotal
{
get
{
object value = ViewState["intTotal"];
return value == nu... more >>
A good Provider??
Posted by SinCity at 4/9/2007 7:53:57 AM
Does anyone know a relatively cheap but good ASP web host provider? I have
a website hosted on my T1 but with the other Internet traffic we have going
on it is sometimes kind of slow.
Thanks!
... more >>
Displaying text from a gridview row bound to SQL server
Posted by moni at 4/9/2007 7:29:49 AM
Hi,
I was hoping to know how I could get the text value of a gridview row.
My code is this way:
<asp:GridView ID="GridView1" runat="server"
AllowSorting="True" AutoGenerateColumns="False"
BackColor="#8080FF"
BorderColor="#0000C0" BorderStyle="None"
BorderWidth="1px" CellPa... more >>
Load PDF in ASPX
Posted by Alhambra-Eidos Kiquenet at 4/9/2007 7:28:05 AM
Hello mister, I want to use AcroPDF.dll (ActiveX for Acrobat Reader 7.0) in
an application web ASP.NET 2.0.
My question, it is possible ?? What I can do about it ?
The target for me is load PDF files in a ASPX page.
Thanks, mister. Greetings.
--
http://www.alhambra-eidos.es/web2005... more >>
difference between htmlcontrols and web control.
Posted by archana at 4/9/2007 7:19:12 AM
Hi all,
can anyone tell me difference between htmlcontrols and web controls.
If i have table web control and table html controls which one should i
use. Because i can add runat tag to html controls. so what is exact
difference between these two.
any help will be truely appreciated.
tha... more >>
Windows Authentication, storing user identity
Posted by Matt at 4/9/2007 6:19:06 AM
I am using Windows Authentication for a web application. I want to
store the identity of users who add, update and delete records in the
database. What is a good built-in active directory identifier to
use? Username, SID? I'd rather not use the username, because this
could change.
Thanks ... more >>
ASP.NET 2.0 publish web site does not work
Posted by yigitozg at 4/9/2007 4:27:34 AM
Hi all,
I have a solution with 5 class library projects and a web site that
has references to these projects.
The problem is, when I build the web site and browse through the
pages, there is no problem.
But when I try to publish the web site, errors come up that say ie.
"ABC does not conta... more >>
how i can call a function from code file into th javascript?
Posted by bushi at 4/9/2007 3:41:33 AM
hi every one!
i want to call a function of the code file into my
javascript code.is it possible?how can i call it?any one knows about
it plz rply me as soon as possible,any help will be appriciated
... more >>
it's urgent
Posted by bananideuri NO[at]SPAM gmail.com at 4/9/2007 3:15:09 AM
hi.i am trying to read a html and pdf file in asp.net 2.0 .after that
i want to search a word say hello from that page and want to display
it iin another page.can anyone please help me out in half an
hour.please.
... more >>
Open A document without the Open/save/Cancel disloguw box
Posted by Iain at 4/9/2007 3:13:03 AM
Hi All
I have a datagrid - buit dynamically from a database table - which
contains a column with links to many documents. When the user selects
a link I want them to be able to open the document within the browser
window. This works well. However whenever the link is selected the
user is pres... more >>
Can i use AxWebBrowser in Web Forms
Posted by How to embed a Browser............... at 4/9/2007 2:12:00 AM
Can i use AxWebBrowser in web forms... more >>
|