all groups > asp.net > july 2007 > threads for wednesday july 4
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
Working with repeaters without Viewstate
Posted by Vijay at 7/4/2007 11:22:31 PM
Hi,
I am working on an Asp.net 2.0 web application that uses master pages,
according to our application architecture we should not use Viewstate. Is
there a work around to raise the events fired from the child controls of
repeater when viewstate is disabled?
The scenario is as follows
I... more >>
Error in Send mail in ASP with CDO
Posted by Vijay at 7/4/2007 11:19:39 PM
Hi,
I have a problem to send Mail in ASP. I am using CDO for sending mail.
My Server configuration are :
Windows Server 2003 Stadndard Edition with R2,
Service Pack 2,
Microsoft Management Console(MMC) 3.0,
Internet Information Service(IIS) 6.0
My ASP Code to send mail are... more >>
check bound column in client side javascript
Posted by Ganesh at 7/4/2007 10:45:52 PM
Hi There,
I've a datagrid in my application, template column contains a check box
plus more columns from my table. when user clicks checkbox i call javascript
to make sure at any time one checkbox is clicked. it works fine.
Now i'd like to check another bound column datetime, when user clic... more >>
System.Runtime.InteropServices.COMException: Operation is not allowed in this context
Posted by Dave at 7/4/2007 9:25:00 PM
I just thought I would ask about this error, since I have found no
references to it on the web elsewhere.
I have a COM object from regular ASP, written for an older app that my
business needs to use, that I need to use in ASP.NET. The error
occurs here:
object obj = "test";
String testV... more >>
$get
Posted by Chris at 7/4/2007 8:36:04 PM
I've just started checking out pagemethods and I've been seeing a lot of
$get() stuff in the javascript.
I haven't seen that use of the $ sign before.
Can anyone tell me what its purpose is?
TIA,
Chris
... more >>
selectedvalue postback problem
Posted by Bernard Borsu at 7/4/2007 7:41:40 PM
I've a problem with selectedvalue from a dropdownlist. I've migrated a web
page from asp.net 1.1 to 2.0. Everything worked fine in asp.net 1.1.
When postback occurs, no values left in the dropdownlist : selectedvalue =
nothing, itemcollection is empty.
Enableviewstate is true for the ddl a... more >>
Using hyperlink to call page: Alternatives?
Posted by CJM at 7/4/2007 6:09:02 PM
Bit of a noob question... I'm finally starting to move across .ASP.NET from
ASP 3.0, and I'm trying to make the most of .NET rather than simply do what
I did before, albeit with different syntax. I'm converting a simple ASP
application to .NET as a learning vehicle.
I have an application th... more >>
.net 2.0 - unused class variables / methods
Posted by Rob Meade at 7/4/2007 2:48:39 PM
Hi all,
I'm using Visual Studio 2005 and it has as you are probably aware a very
handy feature of reporting to you which variables are not being used - cool
thanks...
What would be even more handy is a way of finding out which of my methods
are being used, and across a whole project. I'... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
EntLIb 3.1 and Ajax Enabled App hosted in Medium trust Probs
Posted by Mukesh at 7/4/2007 2:48:38 PM
Hi all
I have Created an web application using
VS 2005,
asp.net2.0,
Ajax Extensions 1.0,
Ent Lib 3.1 ,
MS sql Server 2005,
ajax Control tool kit Version 1.0.10618.0
It is working fine on local host but when i uploaded it on remote server
with Medium Trust condition it is giving errs(... more >>
.net 2.0 Login Control
Posted by PokerMan at 7/4/2007 1:38:50 PM
Hi
I am trying to use the login control but there seems to be so much set up
required and it seems to lock the entire site and require a login for every
page.
All i want is to use the functionality of this control and be able to set
the pages that must require a successfull login to view... more >>
GridView header column text getting html encoded
Posted by TS at 7/4/2007 1:35:34 PM
I have a headerText for a header column that is "Page<br>Name". it puts a
<br> to force a line break, but the < and > get encoded to < and >
thus negating its effect as an html control and doesn't respect the line
break
I'm guessing this happens during render. What do i need to do to kee... more >>
eventvalidation razzle dazzle
Posted by Doker at 7/4/2007 12:10:04 PM
Hello.
I've go a little userwebcontrol that has a button. Tis button when clicked
hides a label and shows a textbox in its place ([code 1]).
Works fine until i put it in a datalist or similiar thing. As you could
expect, or may be you shouldn't, Asp shouts something about event validation... more >>
UpdatePanelTriggers TextBox.onKeyUp
Posted by mc at 7/4/2007 11:11:40 AM
Can someone suggest how I would add a new trigger such that when the JS event onkeyup in a textbox
the updatePanel refreshes?
If not could someone sugest how I could onkepup in a Textbox, refresh the contents of a
gridview/repeater control?
TIA
MC... more >>
Use HtmlControls or manual output
Posted by sjur NO[at]SPAM randh.org at 7/4/2007 6:46:47 AM
Hi,
I'm in the start-phase of implementing an ASP.NET 2.0-application
which will output quite a lot of HTML to the client. The question now
is whether to use the built-in HtmlControls:
HtmlTable tab = new HtmlTable();
this.placeHolder.Controls.Add(tab);
or to manually output the HTML usi... more >>
.NET 2.0 Custom Web.Config section and Intellisense
Posted by Jon at 7/4/2007 3:57:01 AM
Hello all,
I have created a custom web.confif section and all works fine.
However, is there a way to add intellisense to the elements? For
example, one of the elements can only be INTERNAL or EXTERNAL, so I'd
like these to drop down in an intellisense box. Is it possible?
Thanks,
Jon
... more >>
user control ambiguous in the namespace
Posted by at 7/4/2007 3:40:46 AM
Hello,
I got the following error on a .net 1.1 application:
'mycontrol_ascx' is ambiguous in the namespace '_ASP'
The problem appears when I call 2 user controls on the same page, they
both have the same name but they are located in a different folder and
they dont have a code behind.
... more >>
Reporting PDF
Posted by Jeremy Martin at 7/4/2007 12:34:42 AM
Hi,
Currently I use ReportBuilder which is a GUI application embedded in
the Delphi IDE to create custom reports.
It has its benefits because it allows code to be embedded in the report
that enables the designer to control every aspect of the report layout.
Now that I have made the move... more >>
Customized Control in the Datalist doesnt render
Posted by Victor at 7/4/2007 12:00:00 AM
Hi. all
I have a customize web control. I have three simple properties and
customized render class. then I add this control into my datalist like
<asp:DataList ID="datalist" runat="server" RepeatColumns="3">
<ItemTemplate>
<uc:mycontrol id="test" runat="server" />
</ItemTemplate>
</asp:DataL... more >>
Dynamic SQL cause paging issues in GridView?
Posted by Froefel at 7/4/2007 12:00:00 AM
I'm very new to the ADO.NET and WebForms arena, so the problem that
I'm having is probably trivial.
Using VS2005, I'm just creating a small test project that has a text
box allowing you to enter a SQL statement, a button to execute the
statement and a GridView control to display the results. T... more >>
vwd.webinfo
Posted by Alain Sienaert at 7/4/2007 12:00:00 AM
Hi,
I have added a CrystalReport to my solution (project) and removed the report
afterwards.
However, the solution still contains a file vwd.webinfo with the following
content:
<StartupServices>
<Service ID="{967B4E0D-AD0C-4609-AB67-0FA40C0206D8}"/></StartupServices>
I have tried to... more >>
Using a SQL statement with variable parameters and variable criteria
Posted by Froefel at 7/4/2007 12:00:00 AM
I'm trying to populate a gridview control based on a user's search
criteria, but what seemed like a trivial task turns out to be a
nighmare for this newbie... maybe someone can help.
Here's the (simplified) business requirement:
1. Allow the user to specify search criteria (country, action, st... more >>
|