Highlighting Part Of Table When A Hotspot Is Clicked?
Mar 22, 2010
I'm working on asomething that has an image map with multiple hotspots. When the hotspot is clicked, I need it to highlight a particular row in the table that gives information about the person that was clicked on.
I know how to highlight the row using the BackColor part like I did here:
<asp:Table ID="Table1" runat="server" border="1">
<asp:tablerow BackColor="LightBlue">
<asp:tablecell>
<B>Instructor Name</B>
</asp:tablecell>
<asp:tablecell>
<B>Certification Level</B>
</asp:tablecell>
</asp:tablerow>
But how can I use it in this part of the code??:
protected void instructor_Clicked(object sender, ImageMapEventArgs e)
{
switch (e.PostBackValue)
{
case "Jardina":
**Need to highlight Row1 in the table here**
break;
View 4 Replies
Similar Messages:
Apr 1, 2011
have a lengthy asp.net page. A HTML table in the page has a link. when the link is clicked the page refreshes and takes me to the top part of the page. Instead, i want to see the part of the page that has the link. It should automatically scroll down to that part once the page refreshes. How is that possible.
View 3 Replies
Jul 10, 2010
I ImageMag i have set different hopspots. Can you tell how to set each hotspot a unique ID ?I have to pass these ID to some other controls so that some effect take place on mouse hover.presently, effect takes palce when mouse hovers on any part of the image. I want to restrict that effect only for hotspots.
View 5 Replies
Jan 6, 2011
how to divide a table in a reapter in two part using jquery
a repeater contain 31 record how to
id name
1 a
2 b
3 c
4 d
............................
......................
.....................
31.......... x
how to divide in two table i means one table left side and second is right side
Left side
1........................a
.......................
16.....................m
right side
17.....................n
.........................
.......................
31.........................x
View 1 Replies
Jan 2, 2010
Me with C# asp.net, In my web page I have
<table>
<tr>
<td></td>
</tr>
</table>
when I click the td (I mean inside the table) how can I redirect to another web page
or is there any control which can redirect to another web page when clicked on certain portion of the table
View 7 Replies
Jan 2, 2011
a repeater contain 30 record how to
id name
1 a
2 b
3 c
4 d
............................
......................
.....................
31.......... x
how to divide in two table i means one table left side and second is right side
Left side
1........................a
.......................
16.....................m
right side
17.....................n
.........................
.......................
31.........................x
View 3 Replies
Feb 17, 2010
We have several asp.net web applications we've built and we also want to embed them into various sharepoint pages. We need to have them look like standalone applications when viewed in their own pages, but also have them look like they fit within the sharepoint page when embedded. We are doing this currently with IFrames and it works ok, but I'm wondering if there is some sort of proxy web part where we can configure the web part to point to an existing web app and it will proxy the contents through from the web app into the sharepoint page removing the need for an IFrame. Possible?
View 2 Replies
Sep 3, 2012
I have four columns in database. Consider it as a,b,c and d. I'm trying to place a and b column values in TO part and c and d column values in CC part in outlook. a,b,c,d contains six digits numeric values. I just need to place a and b columns values in to and c and d values in cc part on click of a button.
View 1 Replies
Mar 2, 2011
When using SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an SPList which of course contains a SPListItemCollection of the web parts in the web part gallery. When looping through the items, is there any easy way to get properties of the web parts? Such as AllowClose, CatalogIconImageUrl, etc... I know I can probably accomplish this using the listItem.OpenBinaryStream etc and loading the xml of the .webpart file, but I wondered if there was an easier way to do this.
View 1 Replies
Apr 1, 2011
I have a Visual Studio 2010 and when I added a NEW project, VS gives me default css and UI themes. I have 6 aspx pages. Now whenever user is going into some specific page, I want the menu bar of that page to get highlighted so that user will know which page he/she is.I have a page called: CommSetup.aspx. In the page_load I have written this code:And in the master page I changed this: In code behind:
protected void Page_Load(object sender, EventArgs e)
{
foreach (MenuItem item in NavigationMenu.Items)
[code]...
View 4 Replies
Nov 24, 2010
Whats the difference between a SharePoint web part and an ASP.NET web part. I found very less information describing the differences.
View 1 Replies
Sep 22, 2010
I have a menu bound to sitemapDatasource and that has 4 independent items with an empty root node as explained in
http://forums.asp.net/t/1176226.aspx
<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" DataSourceID="menu_SiteMapDataSource"
View 2 Replies
Dec 22, 2010
I have a Devx AspxGridView and i want to highlight few rows of it on conditional basis. For eg. If user selects Vendor from a drop down ,then Vendor details shown in GridView must be highlighted or else if he selects Supplier..then those details must be highlighted. I want to do this on Drop down selection through java script.
View 1 Replies
Jan 18, 2010
I am using jquery tabs(First,Second,Third) in multiple asp.net pages (First.aspx, second.aspx,Third.aspx) in my asp.net website and in each page i am writing the ul,li code.For example in the First.aspx page I am writing the following code inside the 'ul' tag
<li class="current"><a href="#First">First tab</a></li>
<li><a href="Second.aspx">Second tab</a></li>
<li><a href="Third.aspx">Third tab</a></li>
Similarly in the second.aspx,Third.aspx pages i am using the Class="current" to highlight the selected tab.Recently we have planned to move to Master pages.So the master page should contain the ul,li code for the tabs.But the problem is that I do not understand how to apply the class="current" to the selected tab,in the case of the master page.
View 2 Replies
Sep 4, 2010
I need to highlight active link in the menu. My menu is in the master page by the way. I'm looking for the best way to implement this?
View 3 Replies
Jan 30, 2011
when the user click on Edit from the gridview i want to highlight the row and here is what i have done but no effect. what else i am missing?
[Code]....
[Code]....
View 6 Replies
Oct 26, 2010
I have built a simple custom ASP.NET control that expects it's body content to be javascript. Is there a way to tell Visual Studio that the content should be javascript, and therefore provide syntax highlighting / intellisense goodness?In case it helps, here's the framework of the control I'm working with.
namespace MyNamespace
{
public class MyControl : Control
[code]...
View 1 Replies
May 7, 2010
I'm trying to highlight the contents of a texbox on focus. My textboxes reside in a repeater. Here's is what I tried to do:
javascript:
function SetSelected(strTextBox)
{
var txtTextbox = document.getElementById('<%= strTextBox.ClientID %>');
txtTextbox.select();
}
in repeater item bound event:
txtLower.Attributes.Add("onfocus", "SetSelected('txtLower');");
txtUpper.Attributes.Add("onfocus", "SetSelected('txtUpper');");
Obviously this would'nt work because the textbox name would be different in each repeater row. Does anyone know how I can set a js attribute to each textbox in each repeater row??
View 5 Replies
Apr 27, 2010
I have an external *.js file that contains Javascript. How do I get teh same intellisense and color highlighting as I do in an ASPX page?
Here's my options for the js extension (set to 'Script Editor')
And here's what it looks like in an ASPX page (How I would like it to look.)
BTW, I did a full reset my Settings, setting them to VB and no luck.
Update to original post:
Cuban suggested I add a reference to the file "jquery-1.3.2.min.js." When I searched my PC for that file using the fastest bestest Search app ever written, it found it it .003 nano seconds in the following locations:
Basically, the file magically appeared in a couple of my throw away VS2010 test web apps and in a VS2008 Common folder. I don't know why it was added or how I got it and why it doesn't appear under the 2010 web app that I am currently working on.
How would I modify the following statement from Cuban? Do I need to set a reference something first? And what's with the triple slash? I haven't seen this convention before.
View 3 Replies
Jan 15, 2011
I have to manually edit a bunch of HTML and ASP.NET pages that contain primarily content in <p> tags. In VS2010, when I open such a page in the designer it insists on highilighting all the paragraphs; surrounding them with dotted blue rectangles and shading all other paragraphs.
I find this annoying, can I turn these behaviours off?
EDIT
I managed to change the colours by going to Tools, Options, HTML Designer, View and editing the colours for "Layout UI activated border" and "Style application overlay".
View 1 Replies
Jul 14, 2013
which are the existing plugins for add code blocks in TinyMCE?
View 1 Replies
Apr 9, 2010
I m new in web part tools in asp.net, i create a simple page using web part tools, but now i want in my web part zone too open a web site like I Google..
when u use i google there is a functionality to open a web site in web part zone.
View 2 Replies
Apr 11, 2010
My gridivew currently has 4 colums with the third being a subject column. I want this colum to have bold text if the datakey 'ReadStatus' is equal to false. I have had success if the column is bound to the gridview but 'ReadStatus' is only a datakey and not bound to the gridiview. My code is below:
[Code]....
[Code]....
View 1 Replies
Jan 24, 2010
I am using the Visual Studio Web Developer 2008 for programming in VB.NET and i have some problems:
1. Sometimes it stops highlighting the text.
2. Is there an option to refresh the Intellisense of the page?
3. When i am including files to my page, its say variable undefined.
Global information:
* I am not using the *.cs files.
* I am not using any .net button (example: asp:input...)
* I am using the include file. (example: include virtual=...)
View 3 Replies
Mar 30, 2010
I want to highlight thext in the gried which i am searching . It should become yellow background
View 3 Replies