I have a repeater with which I want to use to show a user control multiple times, populated with data.
Currently, I have this:
<asp:Repeater runat="server" ID="MyRepeater" >
<ItemTemplate>
<uc1:MyItems ID="MyItems1" runat="server" />
</ItemTemplate>
</asp:Repeater>
My user control has three properties, which I want to...
I have an ASP.NET project. Currently, it starts on the Default.aspx page. However, I’d like to change this so that it starts on a different page. In VS2008 it is possible to specify the start page, but that doesn’t seem to affect the published product.
I’ve tried putting a Response.Redirect in the Page_Load of Default.aspx, but that ...
This one should be pretty simple. I am making a non-MVC ASP.NET 2.0 site. VS2008 seems to generate controls with a <script> area -- I want the code in a codebehind, so I've manually hooked that up.
I have the following:
widget.ascx:
<%@ Control Language="C#" ClassName="widget" Codebehind="widget.ascx.cs" Inherits="widget"%>
<asp:Labe...
Hi All,
I have one ASP.NET Application (VS.NET 2005). In that i have one scenario where i have to display 500 records per page (Not less than that bcoz this is client requirement to display 500 records per page) in the Gridview. This functionality is working fine but the application is becoming very slow.
Can anybody tell me the soluti...
Hello!
I'm fairly new at ASP.netand picking up someonelse's code, please be kind :)
The project that I created and the one I copied do not see the functions in my datalayer.vb class. Is there something special in ASP.net (add a reference?..etc) that I need to do to be able to have intellisense and for the functions to be seem in in my ...
We have a database with a lot of information about Persons. I won't post the entire database structure because it is too big, but it looks something like this:
Person
ID
Name
Street
City
State
Country
Language
LangCode
Language
Interest
ID
LastChangedBy
LastChangedOn
LocalizedInterest
InterestID
LangCode
Description
PersonInterest...
I have an XML file structured as follows:
<Levels>
<Level Code="T" Text="Test">
<SubLevels>
<SubLevel Type="9" Text="Nine"/>
<SubLevel Type="8" Text="Eight"/>
<SubLevel Type="7" Text="Seven"/>
<SubLevel Type="6" Text="Six"/>
</SubLevels>
</Level>
<Level Code="T2" Text="Test 2">
<SubLevels>
...
I have a site where users can register an account. To do this they have to enter various details about themselves (Name, DOB, Email Address, Password, Username etc..).
However, I would like them to just have to enter their Facebook username/password, and have all this information pulled from their Facebook user account.
How is this pos...
I get the following error intermitantly from the live website I develop (say twice a month).
From the stack trace, it seems to be internal to the AJAX control toolkit.
Error Message: Invalid object passed in, member name expected. (1): {"ActiveTabIndex":0,"TabState":[true,true,true,true]}
I have found once other per...
Hi,
I'm using the following step by step guide to connect to Facebook Connect:
http://msdn.microsoft.com/en-us/windows/ee702803.aspx
However I have a problem at the 'Authentication and Initiating a Session' stage.
When I go through the steps, I click on 'Connect' in my browser, which opens a popup, where I login to Facebook and 'Allo...
I want to add google ads in my gridview after each 2 row in gridview like
row1
row2
Ads
row3
row4
ads
row5
but also paging should not be disturb like if page no selected 10 records + ads should be shown?
how can i do that?
...
Hi Friends,
I have developed a website in asp.net framework 2 . This website is being hosted in two different servers without any change in code. My issue is about the performance of these 2 sites. One website is taking much time for inserting datas to the DB (SQL server 2005). 2 websites are having different DB server.
Can anybody he...
How can I get hold of a user's GEO location within my ASP.NET application? I've noticed on browsers like Firefox and Google Chrome, I (as the user) am prompted as to whether or not to allow the site to have access to my location.
How can I achieve a similar thing to this?
...
I have a tree view control that I would like to supply the background image for. My code currently looks like this:
<asp:Image ImageUrl="~/images/mypic.gif" runat="server" Width="150px" />
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1"
ImageSet="Arrows">
<Paren...
Hello,
I have a DataSet which contains a many to one relationship in it's records:
PersonId and TaskId
TaskId is unique, PersonId is not.
I want to loop through and output each Task into a running document, for each Person. When I get to the next Person I want to save the document I've been building for the last Person, and create a ...
i am working on asp.net 2.0 and sql server 2005
i am using login authentication
where userid = CJ
and password = 123
when i click on login button the text welcome CJ must be displayed. on redirected page
any help will be welcome
...
I'm generating reports on the fly using the great SpreadSheetGear tool. At first things were great because the reports were simple and done in under 1 second. Now I'm at more complex reports and they are taking about 30 seconds up to 1 minute. This isn't a problem, we just throw up an activity image and let the user wait, fine by us.
Th...
Hi,
I have follow code in a ASP.Net Webpage:
protected void btnSend_Click(object sender, EventArgs e)
{
string imei = Request.QueryString["id"];
int imeiID = int.Parse(imei);
if (fuPicture.HasFile)
{
fuPicture.SaveAs("/Images/" + imei + ".jpg");
DAL.ImeiHandling.SavePictu...
I'm building a tiny blog app, and what I need to do is show blog post title for dynamically generated content page Item.aspx in page title.
In other words, i need data that is bound to this label in FormView to also be shown in page title when page loads.
<asp:Label ID="lblPostTitle" runat="server" Text='<%# Eval("PostTitle") %>' />
...
i am doing Fileupload using asp.net 3.5 with asp.net ajax.In that i am using Usercontrol
MainPage.ascx Page:In this page i am using UpdatePanel inside Fileupload control.
Demo.aspx:In this page also i am using Updatepanel. i am drag MainPage.ascx usercontrol inside this UpdatePanel which is in Demo.aspx.
Question: When i drag the Mainp...