all groups > asp.net > july 2007 > threads for wednesday july 18
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
Object references from aspx to C# ?
Posted by mAbZ at 7/18/2007 11:32:31 PM
I have trouble getting an object reference from aspx to c# code.
I have 2 controls created in an aspx page:
....
<MyNamespace:MyControl1 ID="ctrl1" runat="server" ParentWindow="<%# this %>"
/>
<MyNamespace:MyControl2 ID="ctrl2" runat="server" Args="<%# ctrl1 %>" />
....
I also have 2 c... more >>
Performance problem with RegEx
Posted by at 7/18/2007 11:01:34 PM
I have a performance issue related to regular expressions and
caching , hopefully someone can point me in the right direction?
I have a asp.net web service that is called several million times a
day. It does not have data caching enabled since the input variables
for the webmethods change ever... more >>
Element <link> cannot be nested inside element <div>
Posted by Rick at 7/18/2007 10:40:27 PM
Hello,
The masterpage of the site has a <div> element that encloses the
"content" of the actual aspx page.
The content page has a <link> element.
When I try to switch from "source" view to "design" view, the
following error message prevents me from going to "design" view:
"Cannot switc... more >>
Export to CSV problem
Posted by at 7/18/2007 10:07:39 PM
Hi everyone,
I am facing a problem in exporting CSV file.I able to export it
properly in IE7 bbut in Mozila it seems the file name is changed and
an extra , is added in the file name.say if the file name is
"Report .csv" in mozila it becomes Report .csv," .I am writting the
code below.
... more >>
LDAP user authentication problems
Posted by pardesiya at 7/18/2007 9:15:52 PM
Hi,
I am trying to authenticate website user user with the below code. If
there is no error then I assume user is authenticated.
objRootDSE = GetObject("LDAP://rootDSE")
strADSPath = objRootDSE.Get("rootDomainNamingContext")
objDSObj = GetObject("LDAP:")
objAuth = objDSObj.OpenDSObject("LD... more >>
How to access this static variable
Posted by LamSoft at 7/18/2007 7:55:09 PM
Class B { public B() {} }
Class A : B {
public static string ABC = "myABC";
public A() {}
}
main Program:
B myObject = new A();
and now is it possible to access "ABC" through "myObject" without modifying
the source code in Class A and Class B.
Thanks
... more >>
Forms authentication failed - ticket supplied has expired
Posted by Les Caudle at 7/18/2007 7:54:34 PM
Running ASP.NET 2.0 on Windows 2003.
Getting events in App log for
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket
supplied has expired.
The page they are viewing doesn't even require a secure login.
Here's the config:
<authenticat... more >>
Ajax.NET LoadScriptsBeforeUI
Posted by Jason Kester at 7/18/2007 7:20:30 PM
Anybody here using Ajax.NET? Specifically with
LoadScriptsBeforeUI=false on your ScriptManager?
I've been banging my head against the wall all morning trying to get
that attribute to function as advertised. In theory, it should move
all the WebResource.axd script tags down below the rest of ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Odd behavior in upgrade from 1.1 framework to 2.0
Posted by Blasting Cap at 7/18/2007 5:25:14 PM
I had a page that was working in Framework 1.1, that functions
differently/incorrectly in framework 2.0.
What happens is that in the old system I had some drill-down
functionality that would display 4 lines that had the first cell as a
hyperlink, and when you selected that item, it would co... more >>
Asp.net web server
Posted by Fred at 7/18/2007 5:11:38 PM
how many concurrent users / hits per day can a typical asp.net web server
support?
the server will serve content similar to that of cnn.com / text and images
without video streaming
it will be running on windows server 2003 and sql server 2005
is there anything that i should be aware of whe... more >>
Getting Controls in JavaScript
Posted by tshad at 7/18/2007 2:38:19 PM
How do I get the control that generated an event in Javascript?
I can do something like:
var checkBox = document.getElementById('DataGrid1__ctl2_Choice');
But that doesn't tell me what object generated the call.
Thanks,
Tom
... more >>
ItemsSelected not working with ListBox
Posted by at 7/18/2007 2:38:14 PM
I'm not sure if this is the result of the postback behavior or my own
code, but for some reason my onclick function is not detecting listbox
selections (It's meant to delete files uploaded to the server).
The RemoveFiles function is being executed, bu I have a feeling the
selections are being ... more >>
Resending: Problems trying to build basic web service with client for testing
Posted by Brent White at 7/18/2007 1:55:25 PM
(RESENDING: This article did not appear on the newsgroup)
The documentation provided by the people here has been somewhat
helpful, but it appears I am missing the boat somewhere.
I have a web service I designed in VS 2005 that right now is doing
nothing more than returning an XML stream to ... more >>
Error refreshing a web page
Posted by gozer61 at 7/18/2007 1:38:00 PM
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.
Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.
Here's how I g... more >>
Determining the selected RadioButton in a RadioButtonList
Posted by Nathan Sokalski at 7/18/2007 1:23:54 PM
I have a RadioButtonList as one of the Controls in the ItemTemplate of my
DataList. I am using a For Each loop to go through the Items property, but
even if one of the RadioButtons has been selected, they all return False.
What am I doing wrong? Thanks.
--
Nathan Sokalski
njsokalski@hotmai... more >>
not able to be subscribed to my dynamic rss
Posted by fredd00 at 7/18/2007 1:10:18 PM
Hi
we have some page that genreate rss 2.0 feed the url is like .../
rssfeed.aspx?id=123
the page displays properly in browsers, but when we try to add the
page to a reader
like google reader , we always get an error saying : no feed available
for .../rssfeed.aspx?id=123
is there a reas... more >>
usercontrol - events question
Posted by param NO[at]SPAM community.nospam at 7/18/2007 12:14:35 PM
Hi all,
I have a UserControl that contains a Textbox control. When the value of the
textbox changes I would like to fire an event server side that would call a
method in the host aspx page and not in the ascx page. Is this possible? I
know the textbox has a valuechange event right? But how ... more >>
Custom Controls: Import a custom namespace and use its functions within
Posted by user at 7/18/2007 10:40:34 AM
Hi,
I've a custom control and here are it's contents:
mypanel.asx
--------------------------------------
<%@ Import Namespace="mylib" %>
<%@ Assembly Src="mylib.vb" %>
<script language="VB" runat="server">
Public strName as String
mylib.mysub() 'This line will cause a compilatio... more >>
Cross user control communication via parent control
Posted by zeya_bakhtyar NO[at]SPAM hotmail.com at 7/18/2007 10:39:35 AM
Here is the page architecture:
Page loads multiple user controls (including nested user controls)
dynamically based on parameters provided into place holders. Note: The
page only has the logic to load the user controls and subscribe to
custom event exposed in the user controls.
Scenario:
Use... more >>
where, oh where, did my codebehinds go?
Posted by chabuhi at 7/18/2007 10:04:39 AM
I am a complete non-programmer
I have an .aspx page that refers to a codebehind .cs page
There are various "runat=server" sprinkled throughout the .aspx page
The page works fine on the website, but here's the freaky thing (at least, I
think it's freaky):
There are NO .cs pages anywhere... more >>
Please recommend a good Web Hosting Service that supports ASP.NET and SQL Server
Posted by jonny at 7/18/2007 9:54:48 AM
Please recommend a good Web Hosting Service that supports ASP.NET and
SQL Server. I am currently using Yahoo Web Hosting but it supports PHP
and MySql. Also, a good website to get a domain name.
Thanks.
... more >>
delete row in gridview
Posted by Steve at 7/18/2007 9:21:45 AM
I have a gridview and I want to delete a row that is highlighted, but I want
to show a confirmation box also 'you sure?',
but I only want this to show if a row in the gridview is highlighted. What
is the best way to do this other then disabling the delete button until a
row is highlighted?
... more >>
A Straightforward comparison of ASP.net and PHP (ASP.net wins!)
Posted by news.microsoft.com at 7/18/2007 9:11:11 AM
PHP versus Microsoft ASP.net - A Straightforward Comparison
"I do ask that you read this article with an open mind, and consider =
that it is quite possible that PHP is no better or worse than ASP.net. I =
have become weary of the whole PHP is superior to ASP.net debate. I =
believe after read... more >>
validate CheckboxList
Posted by Mike at 7/18/2007 8:39:07 AM
I have a checkboxList on my page and its required that at least item is
checked. Is there a way to validate that at least one is checked when the
user clicks the 'submit' button?
... more >>
Available Java, Dot net and SAP SD CRM consultants with us......................
Posted by at 7/18/2007 8:36:24 AM
Hi,
Let me present list of my available consultants
1) Java Consultant
2) SAP SD Consultant
3) Sr. Dot Net Consultant
For more details, contact me on mailto:mandar@kraftware.com or call me
on 402 408 3687 / 402 408 6601
I
Excellent Java Const having 8+ yrs exp available for your dire... more >>
How do we get the value from the hidden field ?
Posted by bienwell at 7/18/2007 8:13:34 AM
Hi,
I've got a problem of getting the value from the hidden field in the
previous page when I'm in the next page:
I have 2 web pages. In the first page I have a hidden field, a text field
and a button. When I click on the button, the text field would assign the
value to the hidden field,... more >>
Data binding issues
Posted by Swagener at 7/18/2007 7:43:43 AM
Hi All,
Whatever I have tried - I can't seem to get rid of this error it might
be something simple that I have been over looking please assist
I keep getting this error in explorer
Server Error in '/' Application.
DataBinding: 'System.Data.Common.DbDataRecord' does not contain a
property... more >>
First Time Using the ConstructorInfo
Posted by JimHeavey at 7/18/2007 6:14:02 AM
I'm trying to figure out how to use the ConstructorInfo class to get the
appropriate constructor and then use the "Invoke" method to create and
instance of the class. Seems easy enough, but it is not working for me, so
it must be something simple.
Here is the code that I am using, and the ... more >>
FileUpload control browse view
Posted by James Page at 7/18/2007 4:24:02 AM
I'm using an asp.net 2.0 fileUpload control which works fine.
What I'd like is that when a user clicks on the browse button the dialog
shows thumbnails view instead of the default list view.
Is there any way to acheive this? (vb.net if possible)
Thanks
James... more >>
Are there any issues with installing PHP along with ASP.NET?
Posted by Alan Silver at 7/18/2007 12:00:00 AM
Hello,
I have a Windows 2003 Server machine, running the latest IIS. I have
been asked to add a Wordpress blog to a site, but this is only available
as a PHP. Are there any issues with installing PHP on the machine?
Anything at all, like stability, security, etc? Also, is it
straightforwa... more >>
|