Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:813840
More Search Options
RSS Available
Matching Posts
Searching pages that are made up of web parts
My pages are constructed of web parts, which are held as Binary Data in the PageSettings column of the PersonalizationAllUsers table. How do I construct a search by which a user can find the pages that contain specific information? Your help would be much appreciated. Thanking you in anticipation. Roger
Posted to
Web Parts and Personalization
(Forum)
by
rogerwithnell
on 11/27/2009
Background-image Url format
I am setting the style of a div programmatically in the Master page. myDiv.Attributes.Add("style", "background-image:" & myUrl & "") If I set: myUrl = "url(http://localhost/myDomain/myImage.jpg" it works. How do I set myUrl to be relative to the page, which is in: localhost/myDomain/1/myPage.aspx Both myImage.jpg and the Master page are in the root. myUrl = "url(../myImage.jpg)" does not work. Your help would be much appreciated. Thanking
Posted to
Web Forms
(Forum)
by
rogerwithnell
on 11/19/2009
Re: Setting a div's style programmatically
Many thanks. Your code worked although I had to remove the Page. in front of the FindControl perhaps because the code is in a Master page. I tried adding Master. instead of Page. but this did not work
Posted to
Web Forms
(Forum)
by
rogerwithnell
on 11/19/2009
Re: Background-image Url format
Thanks for your reply, but none of these suggestions worked. But, after more research, the following does work: Dim myUrl = ResolveUrl("~/myImage.jpg") myDiv.Attributes.Add("style", "background-image:url(" & myUrl & ")") Roger
Posted to
Web Forms
(Forum)
by
rogerwithnell
on 11/19/2009
Setting a div's style programmatically
I understand that you can address a div programmatically as follows: <div id="HeaderCon" runat="server"></div> and in the code behind: HeaderCon.Attributes("style") = "width:500px; etc etc" My problem is that I only know the ID of the div at run time. How do I set the style attributes programmatically? I've tried things like: Dim vDivId = "HeaderCon" vDivId.Attributes("style") = "width:500px etc etc" but to no avail
Posted to
Web Forms
(Forum)
by
rogerwithnell
on 11/18/2009
Triggering a javascript function on loading a wizard step
My code programmatically creates a textbox in which to enter an RGB code and a div box in which to display the colour entered using a javascript function: Dim vTextBoxColour As New TextBox() vTextBoxColour.ID = "vTextBoxColour" & vCa.Name vTextBoxColour.MaxLength = 7 vTextBoxColour.Columns = 10 vTextBoxColour.Attributes("style") = "float:left;" vTextBoxColour.Attributes("onblur") = "javascript:fnDisplayColour(this, getElementById('ctl00_Main_Wizard1_vDivColourDisplay"
Posted to
Client Side Web Development
(Forum)
by
rogerwithnell
on 11/14/2009
Re: Firing a javascript function from a Hyperlink control
Thanks, rtpHarry. That's useful to know. Roger
Posted to
Client Side Web Development
(Forum)
by
rogerwithnell
on 10/22/2009
Firing a javascript function from a Hyperlink control
With the anchor tag, I can fire a Javascript function as follows: <a href="#" onclick="myFunction">Click here</a> How do I achieve the same using a Hyperlink control? Your help would be much appreciated. Thanking you in anticipation. Roger
Posted to
Client Side Web Development
(Forum)
by
rogerwithnell
on 10/21/2009
Re: Firing a javascript function from a Hyperlink control
Thanks for all your help. I am trying to programmatically build a table cell that displays a thumbnail which, when clicked, fires the javascript function. If I use Hyperlink: Dim vImageWindow As New HyperLink() vImageWindow.Attributes.Item("onclick") = "javascript:alert('Hello');" vImageWindow.ImageUrl = "~/TestDrawImage.aspx" Dim vCell As New TableCell() vCell.Controls.Add(vImageWindow) vRow.Cells.Add(vCell) vTable.Rows.Add(vRow) onclick is not accepted as a
Posted to
Client Side Web Development
(Forum)
by
rogerwithnell
on 10/21/2009
Re: Firing a javascript function from a Hyperlink control
Many thanks. Fixed. Didn't need much deep thought on my part! Couldn't see the wood for the provervial trees. Roger
Posted to
Client Side Web Development
(Forum)
by
rogerwithnell
on 10/21/2009
Page 1 of 15 (150 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online