|
WebUser Controls and Public Properties - Default Value
Hi,
I know we can declare a property public on a web user control and have the
property appear at design time. However, I would like to set a default value
for that.
Adding the component model namespace and the attribute
[DefaultValue("myValue")]
does not cause the argument to become the default value for the property. I
am assuming the only way to do this is to create a get{} ac...
|
3 |
12/31/2008 9:02:47 AM |
|
JQuery Integration Help
Hi. I understand that JQuery is integrated (along with intellisence) in VS
2008 SP1. So I have downloaded and installed SP1 but I can't seem to find any
documentation anywhere about how to get started. I DON'T MEAN WITH JQUERY,
THAT I'LL LEARN FROM JQUERY.COM. I guess what I mean is, is there a specific
Jquery.js that I should use? Is it now somewhere in the VS directory
structure? Is th...
|
1 |
12/31/2008 7:27:01 AM |
|
Unknown problem
Hi All!
We're seeing a very strange problem with our web site. Users seem to be
getting directed to the home page for an unknown reason.
Here's what happens:
A user goes to the site.
Picks a card to send by clicking a link, goes to the next page
Fills in their information and goes to the next page. Prior to going to the
next page an item is put in the session.
They preview and click ...
|
11 |
12/31/2008 1:39:43 AM |
|
Request level singleton object
Hi,
I have written a singleton class that is theoretically supposed to
have a lifetime as that of its request. I plan to store user info into
it. Please refer to the following thread for code:
http://forums.asp.net/t/1365333.aspx
Is the class reliable?
--deostroll...
|
4 |
12/31/2008 1:17:52 AM |
|
Adding rows to GridView
Hi
..NET 3.5
In my webpage I have GridView which add stuff to. Beside the GridView there
is a textbox and a button. If button is clicked I want the text in the
textbox to be inserted into the GridView.
So I look for ways to add rows to a GridView which are not yet saved to the
database. All the unsaved rows in the GridView should be saved only when
user clicks on Save later - the ...
|
1 |
12/31/2008 12:07:14 AM |
|
Need Help With Custom Profile Providers
Hi.
I am trying to roll my own profile provider and have some questions
just so I make sure
I understand what I am doing. I have followed the example on MSDN
here:
http://msdn.microsoft.com/en-us/library/8zs47k7y(VS.85).aspx
Prior to reading about custom profiles, I had my own "Users" table in
my database and
wasn't sure what to do with this table after reading through the
Custom ...
|
1 |
12/30/2008 11:07:20 PM |
|
datagrid updating and use of textboxes in it
I have a datagrid that is successfully loading an XML file. My goal is
to also edit the XML data in this same datagrid. I used an Edit,
Update, Cancel "hyperlink style button" in a column. This successfully
displays the data to be edited in nice textboxes. I can change the dat
and hit update but it will not update the file. Here is my HTML and my
vb.net scripting if anyone can help... Thanks!...
|
2 |
12/30/2008 9:57:37 PM |
|
Prevent gridview retrieve on page load
Hi,
I have a form with textboxes, a search button and a gridview. The textboxes
are filled with default values so that the gridview should return all rows
but not before the user has had the chance to change some of the textboxes
and has clicked the search button.
How can I avoid the gridview displaying all rows before the search button
was clicked?
Any Ideas? Thanks
Diane...
|
7 |
12/30/2008 6:38:39 PM |
|
404 - File or directory not found during Blob upload
I have a web app that works very well for small blobs. I have recently
decided to add the ability to upload *.wmv's and eBooks, both of which range
in size from 10 to 60mb's, but I've ran into a little problem. I'm getting a
404 error about half way through the process. I've included my upload code
below:
*Begin*****************************************************
...
|
1 |
12/30/2008 6:20:23 PM |
|
In memory data
Hi all
Requirements:
01: Access to a small subset of data should be as fast as possible.
02: Access must be synchronised, so only 1 person at a time may modify or
read it.
03: None of this information has any links with my persistent data (Customer
etc).
04: The server will always be a dedicated machine, and only a single server
will be used.
05: The data doesn't need to survive a ma...
|
3 |
12/30/2008 5:20:22 PM |
|
Can't find database
I have an app that I have installed and it reports that it can't find the
database.
I have this installed ona domain controller and I run it on the console and
it works fine.
This error is coming from my customer site where I've installed it on a
server that's a member of a domain and then when I attempt to run it I tells
me it cannot find the database. I've checked directory permis...
|
9 |
12/30/2008 4:56:16 PM |
|
How long does a web request remain valid?
I implemented a custome async HTTP handler as described at MSDN:
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_vwdcon/html/
1b5c4a27-599b-44d0-8a06-72edc6765aa9.htm
In the async process, I introduced a sleep of 10 minutes. Yet when I
access the page .sample and get the request processed through the
handler, I notice that after 10 min, the response is returned to the
browser. My question is, d...
|
2 |
12/30/2008 4:18:38 PM |
|
again looking for specific tutorial info
My google foo has always been weak... So here I am asking if anyone has any
reference to what i am trying to accomplish:
I have
- a gridview and a detailview that act as master/detail UI widgets.
- detailview has objectdatasource that points to a tableadapter in a
dataset.
- I can add/edit/delete from the lovely DetailsView.
I have a field in the table for an image. I have not decided...
|
2 |
12/30/2008 3:13:57 PM |
|
Inline asp.net code in server control tag?
I need to take a querystring value of the page I'm on:
<%=Request.QueryString["itemid"].ToString()%>
and put it into a value within a server control tag:
<mytag:displayHTML id='myID' runat='server'
RequestURL='http://localhostexample.aspx?format=html&page=overview&id=<%=Request.QueryString["itemid"].ToString()%'
/>
Alas, that syntax doesn't work. Can it be done?
-...
|
2 |
12/30/2008 2:45:07 PM |
|
Sharing file resources accross multiple websites
Hi there.
I have a problem in design I need to address.
I have 6 websites which all provide identical content, except that the
they are branded differently, ie each website is for a different city. I
have the city name in the web config for each website, and thus the
value is simply read from the WebConfig and brands each website differently.
Unfortunately every time I make a change t...
|
7 |
12/30/2008 12:57:49 PM |
|
Client side validation not firing - any idea why?
Hello,
I have a site that uses ASP.NET v 2.0.50727, and am having trouble with
client side validation not firing.
I tried running aspnet_regiis.exe -c which created aspnet_client folder,
with a subfolder of system_web/2_0_50727 but that only had a folder for
crystal reports, no other files.
Any ideas? Thanks
--
Alan Silver
(anything added below this line is nothing to do with ...
|
6 |
12/30/2008 10:07:21 AM |
|
reposting form data
Im working on a web site that has asp pagesa and aspx pages. i would like to
post data to a aspx page from a asp page and then pass that data onto a
third asp page.
What I did do was get the formdata and pass it on as a query string, but we
are having problems where the querystring is too long. I cant use session
because the asp to aspx problem.
What I would like to do is get the for...
|
1 |
12/30/2008 7:25:25 AM |
|
Debug code in <% tags
I can't seem to find an answer for this. VS2008, Web Application Project
ASPX files seem to only be compiled when you hit them... even when you're
debugging. Is there a way when debugging in the IDE to have them compiled
when you run the project so that you can catch compile time errors?
--
-C. Moya
http://www.cmoya.com
...
|
1 |
12/30/2008 4:36:25 AM |
|
Astoria : QueryInterceptor
Hello,
It seem I am the only one to be concerned by this problem
WHent I try to use QueryInterceptor attribute I have a "RequestError"
like in
[QueryInterceptor("Orders")]
public IQueryable OnQueryOrders(IQueryable orderQuery)
{
return from o in
orderQuery
where o.Customers.ContactName
== .Current.User.Identity.Nam...
|
2 |
12/30/2008 3:08:49 AM |
|
Vaiable without AS
In VS 2005 I was using a generic variable for referencing objects such as
textbox, dropdown, calendar controls, etc. using something similar to below.
In VS 2008 the variable is "marked" and assumed an object.
Dim varControl
varControl = row.FindControl("txtExpireDate")
Is there a better way, e.g. using the actual control such as Dim varControl
As TextBox, etc.? Thanks.
David
...
|
3 |
12/30/2008 1:53:52 AM |
|
How to handle "A potentially dangerous Request.Form value was detected from the client"
Hello,
I know why the "A potentially dangerous Request.Form value was detected
from the client" error happens, and I know it can be avoided by setting
validateRequest to false, but is there a way of handling the error
rather than disabling it?
I have a form where I don't want people to be able to enter HTML, but I
don't want to show this ugly error if they do. I would like to be able...
|
1 |
12/30/2008 12:49:42 AM |
|
Microsoft.SharePoint.Utilities
Hi,
I want to access a SharePoint server from an application I'm developing in
VS 2008 (Visual BAsic) Apparently I require the
Microsoft.SharePoint.Utilities.
It seems to get them I first need to have a Windows server installed as a
pre-requisite. I attempted to download a free trial version of Windows server
2003 but it requires that I burn the ISO download to a CD. This is not
p...
|
1 |
12/29/2008 11:08:01 PM |
|
online user count
Hi,
i have a problem with my online user count;
void Session_Start(object sender, EventArgs e)
{...
System.Web.HttpBrowserCapabilities tarayici = Request.Browser;
if (tarayici.Crawler)
return;
Application.Lock();
Application["ActiveUsers"] =
Convert.ToInt32(Application["ActiveUsers"]) + 1;
Application.UnLock();
....}
the Applicat...
|
3 |
12/29/2008 5:37:57 PM |
|
Accessing TextBox.Text from MultiView.ActiveIndex 0 in MultiView.ActiveIndex 1
I have a MultiView control that has a TextBox in a view. When I click a
button in the view with the textbox in it to change to another view, I don't
have access to TextBox.Text anymore. How would I have access to this
TextBox.Text string in other MultiView views?
...
|
1 |
12/29/2008 4:56:49 PM |
|
Gridview samples
(1)I am now working on the CustomizingEditingUI folder for the default
folder. It shows the pull down list control on edit mode, great feature I
ahve always wanted to learn how to do. However the product name field is
showing the same value. The link to this page is
http://msdn.microsoft.com/en-us/library/aa479339.aspx and the specific topic
is Editing the underlying data
Any suggest...
|
12 |
12/29/2008 3:27:02 PM |