Forum: ASP.NET Jul 14th, 2009 |
| Replies: 0 Views: 245 I am using Microsoft Sharepoint Designer 2007 to create a page from a list.
I need to retrieve all but the newest record and display them.
Any ideas?
Pete |
Forum: ASP.NET Dec 28th, 2008 |
| Replies: 1 Views: 1,102 I have found the problem.
I am using an Ajax UpdatePanel and this was causing the issue.
I have added the Save Button to the NON-async triggers list to stop the issue. |
Forum: ASP.NET Dec 28th, 2008 |
| Replies: 1 Views: 1,102 Hi have a form with a Multiline Textbox and a Span
I save the text and load into a <span>
lblSpan.InnerHTML = txtMLBox.Text.ToString.Replace(Environment.NewLine, "<br/>")
The Span looks fine... |
Forum: ASP.NET May 1st, 2008 |
| Replies: 2 Views: 633 Try using a Timer to refresh the page and AJAX to just reload the part of the page that needs updating and also to stop the page from flashing during the refresh. |
Forum: ASP.NET Apr 30th, 2008 |
| Replies: 2 Views: 2,196 Add a FileUpload control to your page
<asp:FileUpload ID="FileUpload" runat="server" Width="408px" />
And then add this code to your upload button'Save uploaded file to server... |
Forum: ASP.NET Apr 17th, 2008 |
| Replies: 1 Views: 2,678 Look at creating a MasterPage
The details entered onto a masterpage will show on ALL pages |
Forum: ASP.NET Apr 16th, 2008 |
| Replies: 2 Views: 606 First i would try using standard DataTables as it is possible that the server has not got the prerequisites installed for H2C2DataLayer.h2c2DataSet.topicsDataTable
Try
Dim SQLTable as new... |
Forum: ASP.NET Apr 14th, 2008 |
| Replies: 1 Views: 646 I would use SQL Select Statments to select the correct data based on a (WHERE) criteria
See "VB.NET" > "How to use SQL" on or <snipped>DaniWeb Code Snippet 696 |
Forum: ASP.NET Mar 14th, 2008 |
| Replies: 5 Views: 5,708 The only way i know how to do it with only one instance of a table would be to only download one record from your database at a time, into a DataTable and then do dt.WriteXML
This would require... |
Forum: ASP.NET Mar 14th, 2008 |
| Replies: 5 Views: 5,708 Hi,
Try Dim dtXML As New DataTable
Dim dtData As New DataTable
Dim dtRow As DataRow
Dim dtXMLRow As DataRow
Dim XMLFilename As String
... |
Forum: ASP.NET Mar 6th, 2008 |
| Replies: 3 Views: 1,722 You could write the whole site in XML files
Read from XML Dim dt As New DataTable
dt.ReadXmlSchema("Filename_Schema.xml")
dt.ReadXml("FileName.xml")
For Each... |
Forum: ASP.NET Jan 27th, 2008 |
| Replies: 4 Views: 1,353 Hi scm22ri,
Yes you would put this code in your Page_load event
On my site (http://www.taylorsnet.co.uk) I ALL the pages have there Titles and descriptions stored in a SQL database along with... |
Forum: ASP.NET Jan 26th, 2008 |
| Replies: 4 Views: 1,353 Hi,
Dim MetaDesc As New HtmlMeta
MetaDesc.Name = "description"
MetaDesc.Content = "Descriptionfor web page"
Dim MetaKey As New HtmlMeta
MetaKey.Name = "keywords"
MetaKey.Content = "keyword,... |
Forum: ASP.NET Jan 18th, 2008 |
| Replies: 4 Views: 3,306 Hi,
Add a FileUpload Control to your web form<asp:FileUpload ID="FileUpload" runat="server" Width="408px" />
and you can access some of the files details like thisFilename =... |
Forum: ASP.NET Jan 12th, 2008 |
| Replies: 4 Views: 3,306 To add a confirm button to asp.net
Confirm box'In ASPX Source add
<asp:Button ID="StartBackup" Runat="server" OnClientClick="return confirm('Are you sure you want to start the Backup?');"... |
Forum: ASP.NET Jan 10th, 2008 |
| Replies: 5 Views: 1,666 Try just using GUPTA-4E607DBAB as your server name or go by IP as the \administrator is a user and not part of the SQL Server name |
Forum: ASP.NET Jan 10th, 2008 |
| Replies: 3 Views: 913 You could look at my hosts eUKHosts (http://www.eukhost.com/affiliate/idevaffiliate.php?id=484_0_1_6)
Their not free but windows hosting(with ASP.NET) starts at £39.99 per Year
My package... |
Forum: ASP.NET Jan 6th, 2008 |
| Replies: 1 Views: 772 Assuming that you are using a datatable(SQLTable) and you have a column like "ticket_price" for each person then you can use a span to show the total
In ASPX<span id="lblTotal"... |
Forum: ASP.NET Dec 16th, 2007 |
| Replies: 2 Views: 966 If you use the Table Control under the HTML tab then when you right click the table a menu with Insert and Delete, Rows and Columns will appear |
Forum: ASP.NET Dec 11th, 2007 |
| Replies: 2 Views: 2,168 In VB.NET (2005) you can open the 'sln' file and change the path of the project if you move it.
Try opening the 'sln' file in Notepad and change the old path to the new one
Make a backup of... |
Forum: ASP.NET Nov 27th, 2007 |
| Replies: 1 Views: 2,015 Try using the Microsoft Visual Web Developer Express or a FULL Visual Studio of design and code
and have a look at http://www.taylorsnet.co.uk/SourceCodeDetail.aspx?SourceID=5 for some info on SQL... |
Forum: ASP.NET Nov 10th, 2007 |
| Replies: 7 Views: 1,589 I have tried it on five computers and all had the same issue but i have found the solution
i have added a If Not IsPostBack Then to the masterpage |
Forum: ASP.NET Nov 8th, 2007 |
| Replies: 7 Views: 1,589 I have stepped through the code and all rows returned have the correct image path
Also this issue happens on both IE7 & Firefox 2
This issue only occures on a link that refreshes the page but... |
Forum: ASP.NET Nov 7th, 2007 |
| Replies: 7 Views: 1,589 |
Forum: ASP.NET Nov 6th, 2007 |
| Replies: 7 Views: 3,156 Looks like i had a Response.Redirect in my MasterPage that caused the page to refresh its self if a user was logged in
I have removed the Response.Redirect and the page works fine now |
Forum: ASP.NET Nov 4th, 2007 |
| Replies: 7 Views: 3,156 Hi,
There are no spaces in any of my links and i don't have any RSS Feeds |
Forum: ASP.NET Nov 4th, 2007 |
| Replies: 7 Views: 3,156 Thats the thing, The page its refering to is the root of my site http://www.taylorsnet.co.uk
I tried it using a simulator at http://www.gritechnologies.com/tools/spider.go
and it shows:... |
Forum: ASP.NET Nov 4th, 2007 |
| Replies: 7 Views: 3,156 |
Forum: ASP.NET Oct 26th, 2007 |
| Replies: 7 Views: 3,156 Hi,
I am getting Error 302 "Object moved to here" from Spiders and from msn.com
Click Cached Page (http://search.msn.co.uk/results.aspx?q=www.taylorsnet.co.uk&geovar=en-US&FORM=REDIR)
Can... |
Forum: ASP.NET Oct 23rd, 2007 |
| Replies: 2 Views: 2,452 The code to open a new windows in javascript is'Open in new window
Dim OpenNewPage As String
OpenNewPage = "<script type='text/javascript'>detailedresults=window.open('NewPage.aspx');</script>"... |
Forum: ASP.NET Oct 8th, 2007 |
| Replies: 7 Views: 1,589 Does anybody have any ideas as this problem is starting to annoy me |
Forum: ASP.NET Oct 6th, 2007 |
| Replies: 5 Views: 3,736 Hi,
This is how i do it for SQL databasesDim SQLda as New SQLDataAdapter
Dim SQLTable as new Data.DataTable
Dim SQLRow as Data.DataRow
Dim Value as String
SQLda = New... |
Forum: ASP.NET Oct 3rd, 2007 |
| Replies: 7 Views: 1,589 I have a Navigation Menu at the top of my site that when on some pages you click a link the refreshes the page it looses all images and add one extra link
ASP.NET (VB)
View it here (Click on... |
Forum: ASP.NET Sep 30th, 2007 |
| Replies: 1 Views: 2,785 I have fixed it by changing the asp:ImageButton to asp:Image
If anybody has any idea as to why this happed I would like to know
Thanks |
Forum: ASP.NET Sep 29th, 2007 |
| Replies: 1 Views: 2,785 I have been using the asp:Menu control for a while now but have only just started to use images with it.
When i click and navigate around the site it works fine but
the problem is that when i... |
Forum: ASP.NET Sep 26th, 2007 |
| Replies: 6 Views: 902 Try this Assuming you are using .NET 2
Extract from http://help.godaddy.com/article.php?article_id=687&topic_id=216
To Enable ASP.NET 2.0 on Your Existing Hosting Account
Log in to your... |
Forum: ASP.NET Sep 26th, 2007 |
| Replies: 3 Views: 4,963 I would normally use this with a dataview in Windows Applications but the concept should be the sameDim SQLRow as datarow
Dim Index as Integer = 0
For Each SQLRow In DataGrid.Rows
If... |
Forum: ASP.NET Sep 26th, 2007 |
| Replies: 3 Views: 4,963 Try If datagrid.rows.count = 0 then
datagrid.visible = False
else
datagrid.visible = True
End If |
Forum: ASP.NET Sep 25th, 2007 |
| Replies: 6 Views: 902 The only thing i can think of is maybe the folder that you uploaded the application to may not be set as a Web Application, this would cause the aspx files to be displayed as plain text
I don't... |