all groups > asp.net > february 2007 > threads for saturday february 17
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
File Size
Posted by rn5a NO[at]SPAM rediffmail.com at 2/17/2007 9:58:11 PM
I am giving users the option to upload files from their hard disk to
the server but only those files will be uploaded whose size is less
tha or equal to 1 MB.
I am using the ASP.NET FileUpload control to design the interface.
This is the code:
<script runat="server">
Sub Page_Load(....... more >>
Ajax RoundedCornersExtender and Firefox
Posted by Joe at 2/17/2007 8:04:57 PM
When viewing the page in Firefox, the top of the panel is separated.
For example I have a Panel in a cell with it's width=100%. I use the ajax
control to round the top corners of the panel, The corners get rounded but
about 10px down from the top there is a white space about 20px heigh and the ... more >>
Centering a menu in a div
Posted by Uriah Piddle at 2/17/2007 7:25:45 PM
Hi Gang,
I have a horizontal asp menu in a div. I centered the menu by setting the
text-align prop of the div to 'center' and that works in IE. But with the
other browsers, the menu aligns left. I tried fiddling around with padding
but that does not work because items are added to the menu ... more >>
how to add programmatically a boundfield to a gridview?
Posted by michel at 2/17/2007 3:49:50 PM
Hi,
I want to add programmatically a boundfield to a gridview:
<asp:GridView ID="GridView1" runat="server">
<Columns>
</Columns>
.....
</asp:GridView>
code-behind:
-----------------
Dim bf As new BoundField
GridView1.Controls.Add(bf)
this gives the error:
"Value of type 'Syste... more >>
Shariing session across domains
Posted by Bhaskardeep Khaund at 2/17/2007 3:36:25 PM
Hi,
I have a site whose login is based on cookie based sessions. I have a
section of the site which is a sub-domain of the main site. So, naturally
both would have different IP addresses.....how i want, that when a user logs
in to main site, he should automatically be logged in the sub site... more >>
DropDownList Enumerate DataSource
Posted by AG at 2/17/2007 3:30:39 PM
I have a dropdownlist bound to an objectdatasource.
I need to loop through all the items in the datasource to get the values of
a column that is not used as the datatextfield or the datavaluefield.
I thought maybe in the databound event of the dropdownlist, but don't know
how to reference the ... more >>
Setup AspNetSqlMembershipProvider with no Password attempt window
Posted by jmhmaine at 2/17/2007 12:03:03 PM
I want to lock out a user after 5 failed password attempts with no Password
attempt window. Meaning after 5 bad attempts, the account is locked until an
administrator unlocks the account. How do I accomplish this with the
AspNetSqlMembershipProvider provider?... more >>
Poor Design Time Support for DataBinding in Custom Controls
Posted by Mark Olbert at 2/17/2007 8:26:30 AM
Has anyone else noticed that the design-time support for databinding in custom controls in ASPNET2 sucks? At least for GridViews? So
far I've spent going on two days trying to get the following simple statements to actually generate something at design-time:
gridView = new GridView();
gridView.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VS 2003 and Vista
Posted by Mike P at 2/17/2007 5:37:07 AM
Whenever I try to open a VS 2003 project on Vista I get the error :
'VS.NET cannot create or open the application because no web server at
the URL http://localhost/projname was detected'
How do I solve this? I have a feeling IIS may not be installed on my
machine, yet I have just installed ... more >>
where cached objects are stored
Posted by a.mustaq NO[at]SPAM gmail.com at 2/17/2007 4:54:50 AM
Hi All,
I have some doubts regarding to caching.
1.Where cached objects are stored.
2.What is public caching and private caching.
3.Is caching user specific or application specific
Please help me.
... more >>
Problem with query Parameter/variable
Posted by SF at 2/17/2007 12:00:00 AM
Hi,
I am new to ASP.NET. I started my first testing ASP.NET by having a ASP page
consist of a drop-down control and 1 datagrid bound to Access database. The
dropdown control works very well except the datgrid becuase I want to limit
the datgrid to display only information selected in the dropd... more >>
|