all groups > asp.net > january 2008 > threads for thursday january 31
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
code behind issue
Posted by solutionsdxb@gmail.com at 1/31/2008 10:54:20 PM
Hi ,
I am using a code behind for asp.net page ,
<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="Default.aspx.vb" Inherits="_Default" %>
and file default.aspx.vb contains all the code including
Sub Page_Load()
If Request.QueryString("check") = "p" Then
'1. Creat... more >>
ContentPlaceHolder Control Names
Posted by Scott M. at 1/31/2008 9:57:43 PM
I'm noticing that what using a MasterPage with a ContentPlaceHolder that the
content page's controls don't render with the exact same name/id as I'm
giving them at design time. This is causing problems with client-side
scripts that I wish to write.
What can I do to ensure that the name I g... more >>
Cache
Posted by Rodrigo Ferreira at 1/31/2008 9:28:16 PM
Hi,
how do I configure a cache for all my pages with a few code lines?
Thanks
... more >>
how to show profile properties for all users?
Posted by Bart at 1/31/2008 8:58:10 PM
Hallo,
i defined some profile properties (category and department), for our
membership users..
I also made a list of all the membership users in a gridview. This list
shows only the username and emailaddress.
My problem is that i also want to show their profile properties in the
gridview.... more >>
MasterPages with Ajax
Posted by Rodrigo Ferreira at 1/31/2008 8:44:16 PM
Hi,
I´m trying to create a master-content page that does not refresh all the
page when a link is click, I mean that only the content page should be
refreshed. How to do this?
Thanks
... more >>
UpdatePanel
Posted by Rodrigo Ferreira at 1/31/2008 7:22:17 PM
How do i load a page inside a UpdatePanel?
Thanks!
... more >>
Application Setting
Posted by Scott M. at 1/31/2008 5:50:59 PM
In an ASP .NET 2.0 Web Application Project using C#, how do I retrieve an
application setting I've created in the Project Properties designer that is
written into the <applicationSettings> section of web.config.
Please note: I'm asking about <applicationSettings>, not <appSettings> and
I'm... more >>
Invalid postback or callback argument - Very Strange Error
Posted by shapper at 1/31/2008 4:31:00 PM
Hello,
I have an Asp.Net 3.5 ListView.
I added a TextBox and 2 buttons in Edit Item Template.
The TextBox displays the value of the field has expected.
Buttons are defined as follows:
Dim cancel As New Button
cancel.CommandName = "Cancel"
cancel.Text = "Cancel"
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DropDownList & Viewstate
Posted by jwnews1231@gmail.com at 1/31/2008 2:56:53 PM
Hi,
I've been working on minimizing the use of the ViewState in my asp.net
applications because of its overhead. The problem I am having is that
I keep losing SelectedIndex in the DropDownLists. I don't lose the
SelectedIndex when the ViewState is enabled, only when it is off.
I have a dr... more >>
Way to stream TIFF files
Posted by David C at 1/31/2008 2:01:11 PM
Is there a way in ASP.Net 2.0 to stream individual TIFF image files into one
TIFF file? If so, can you point me to any details? Thank you.
David
... more >>
Raise Event
Posted by shapper at 1/31/2008 1:45:20 PM
Hello,
How to manually raise an event of a control?
For example the Update event of a GridView ...
Thanks,
Miguel... more >>
Basic AJAX Question
Posted by Jonathan Wood at 1/31/2008 10:58:21 AM
Greetings,
I'd like to implement some AJAX features on an existing ASP.NET site. I have
one example of doing this but, otherwise, don't know much about it.
I have one question, though, about getting started: I notice that there are
project templates for creating AJAX this and AJAX that. I'... more >>
Response.Clear() doesn't clear
Posted by David at 1/31/2008 9:58:03 AM
When I use Response.Clear() it doesn't seem to have an effect. The original
aspx page code remains. I have tried creating test projects in both VS 2005 &
2008, where I just add a new aspx page and place in the Page_Load() event
Response.Clear(), but nothing is cleared out. I have tried various... more >>
Installed Linq CTP for VS 2005, but
Posted by gnewsgroup at 1/31/2008 9:21:45 AM
I just downloaded and installed the 2006 Linq CTP for VS2005.
After I restarted VS2005, I had an additional website template called
"LINQ ASP.Net Website Template", which I selected and a Linq web site
was created for me.
But, I cannot find the LINQ to SQL designer like the one available in
... more >>
Writing to Favorites (IE) from aspnet
Posted by randy.buchholz at 1/31/2008 8:58:48 AM
I would like to be able to build a set of folders and links in the browser
(IE 6+) "favorites" to create semi-static lists of links configured to the
users profile and preferences. I haven't worked with controling browsers so
I'm looking for a place to start. BTW - I'd like to keep as much s... more >>
forms inside of other forms?
Posted by Andy B at 1/31/2008 8:57:22 AM
I have an html form that is supposed to be inside the main aspx page form.
How do I do this so it will work? I have no way of changing the form (nested
form) since its written in javascript and is auto generated...
... more >>
Viewstate expires
Posted by Chris Davoli at 1/31/2008 6:54:02 AM
I wqas told to put a machine key into the web config so it would do the
encryption the same. I did that and I still get the following error. Any
other suggestions?
I store some stuff in view state and then if I leave the browser instance
alone say for 20 minutes, it gives me this message wh... more >>
How to change iframe src ?
Posted by Atilla at 1/31/2008 6:46:42 AM
<iframe
id="fband"
name="fband"
--> src="band.aspx?S=Other"
width="100%"
height="300"
scrolling="auto"
frameborder="0">
</iframe>
How to change iframe by using VS 2008 C# ?... more >>
Throw Exception
Posted by shapper at 1/31/2008 6:08:23 AM
Hello,
I have a function named Find as follows:
Public Function Find() As Control
Dim AllControls As Control() = FindAll()
End Function
FindAll returns can return an array of controls or single control.
What I want is to create and exception that I would throw as follows:
If AllC... more >>
Master Page Controls & New Session
Posted by Ian Semmel at 1/31/2008 5:38:23 AM
I have a master page with a LoginView control in a left pane. This all
works OK.
However, when a session expires and a user clicks a link, I go to a
'Session Expired' page and ask them to click a link to go back to my
Default.aspx. When this comes up, the page looks OK but the controls in
... more >>
Code for Accessing the controls of masterpage in its content page
Posted by Sonu at 1/31/2008 4:31:16 AM
I have to change the controls (panel)'s top and other properties of
master page after accessing it in it's content page.... more >>
Using hyperlink as back button
Posted by Mike P at 1/31/2008 3:35:06 AM
I need to use a hyperlink as a back button, using
javascript:history.go(-1). But the ASP.NET hyperlink control doesn't
have an onClick event, and the HTML anchor tag requires a href.
How can I use the javascript to go back a page using a hyperlink?
*** Sent via Developersdex http://www.... more >>
Oracle connectivity Issue with .Net
Posted by Saquib at 1/31/2008 3:22:26 AM
Hi All,
I have built a simple .Net console application. In which i am trying
to connect to the oracle database by using Oracle data provider
for .Net from ORACLE site and it works fine on my machine. I have
installed the same on my main server but when i run this application
from Our main ser... more >>
User Control PageLoad even not firing
Posted by Phil Johnson at 1/31/2008 2:43:01 AM
Hello,
I have a page that contains a user control that is nested within other user
controls... the nesting is quite deep, not sure exactly how ddep but there is
a control inside a control inside a ... etc.
One of the user controls has a button click that tries to get a reference to
the p... more >>
Any quick solution to display performance diagnostics on every pag
Posted by Phil Johnson at 1/31/2008 1:13:00 AM
Hi,
I am working on a large asp.net 1.1 application.
An older ASP version of the same application has code in every page and
includes to enable it to display some performance diagnostics on every page
(things like what percentage of the time to return the page was spent in each
includes ... more >>
Will .NET 2.0 Windows Services run under Windows 2000?
Posted by Jeff Dege at 1/31/2008 12:07:18 AM
I posted, a week or so ago, about problems I was having with a Windows
Service, written in C# and .NET 2.0, that would install and run fine, on
some machines, and would install, but would hang on startup, on other
machines.
On exploring it further, it seems that the machines that this servi... more >>
|