Hi,
I have a <ItemTemplate> with a HTML Table inside, "id=commercial" who
display Ads on our site.
But for each Store, i have to put a different CSS Class name to my
Table, but all the table have the same name "commercial", so my Javascript
function does'nt work.
I try different way to do this, but can't find the solution.
I found a solution using <asp:table>, but if i put the <asp:table>
inside my Datagrid i receive this error : "The active schema does not
support the element 'asp:table'"
Did someone have any idea ?
Thank you ! 3 1263
Not sure if you are using DataGrid??
Pls post some code..
If you are using Datagrid,
try manuplating in ItemDatabound event.
Vinay
"Andre" wrote: Hi,
I have a <ItemTemplate> with a HTML Table inside, "id=commercial" who display Ads on our site.
But for each Store, i have to put a different CSS Class name to my Table, but all the table have the same name "commercial", so my Javascript function does'nt work.
I try different way to do this, but can't find the solution.
I found a solution using <asp:table>, but if i put the <asp:table> inside my Datagrid i receive this error : "The active schema does not support the element 'asp:table'"
Did someone have any idea ?
Thank you !
Here's a part of my code..
<asp:datagrid id="Datagrid1" runat="server" onitemdatabound="item_bound">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<Table class="BBBX" id="Commercial">
<...>
"vinay" <vi***@discussions.microsoft.com> a écrit dans le message de
news:3A**********************************@microsof t.com... Not sure if you are using DataGrid?? Pls post some code..
If you are using Datagrid, try manuplating in ItemDatabound event.
Vinay
"Andre" wrote:
Hi,
I have a <ItemTemplate> with a HTML Table inside, "id=commercial"
who display Ads on our site.
But for each Store, i have to put a different CSS Class name to my Table, but all the table have the same name "commercial", so my
Javascript function does'nt work.
I try different way to do this, but can't find the solution.
I found a solution using <asp:table>, but if i put the <asp:table> inside my Datagrid i receive this error : "The active schema does not support the element 'asp:table'"
Did someone have any idea ?
Thank you !
Andre
Try writing a Server Side public function
SetTable()
In that create the dynamic tables with different ID's.
Try it..
<asp:datagrid id="Datagrid1" runat="server" onitemdatabound="item_bound">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<%=SetTable()%>
Vinay
"Andre" wrote: Here's a part of my code..
<asp:datagrid id="Datagrid1" runat="server" onitemdatabound="item_bound"> <Columns> <asp:TemplateColumn> <ItemTemplate> <Table class="BBBX" id="Commercial"> <...>
"vinay" <vi***@discussions.microsoft.com> a écrit dans le message de news:3A**********************************@microsof t.com... Not sure if you are using DataGrid?? Pls post some code..
If you are using Datagrid, try manuplating in ItemDatabound event.
Vinay
"Andre" wrote:
Hi,
I have a <ItemTemplate> with a HTML Table inside, "id=commercial" who display Ads on our site.
But for each Store, i have to put a different CSS Class name to my Table, but all the table have the same name "commercial", so my Javascript function does'nt work.
I try different way to do this, but can't find the solution.
I found a solution using <asp:table>, but if i put the <asp:table> inside my Datagrid i receive this error : "The active schema does not support the element 'asp:table'"
Did someone have any idea ?
Thank you ! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: SteveJ |
last post by:
All,
Can someone help me solve the next step.
First of all let me say I'm new to php. I pieced the following code together
from samples
I found on the net and a book I bought called PHP...
|
by: john T |
last post by:
Is there anyway to vertically center a html table using css in such a
way it does not alter the html table. When I tryied it just screws up.
|
by: Peter Kirk |
last post by:
Hi there
can someone please help me with creating dynamic content in a table? For
example, see the below javascript and html - why is a new row not created in
the table when I click the button?...
|
by: Guadala Harry |
last post by:
In an ASCX, I have a Literal control into which I inject a
at runtime.
litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID);
This works great as long as the contains just...
|
by: Andrew |
last post by:
Hi, friends,
In ASP, we use
obj = CreateObject("com.dll")
obj.GetHTMLText(inVal, outHTMLTxt1, outHTMLTxt2)
to get different HTML strings based on input values.
Then, we insert them into...
| |
by: since |
last post by:
I figured I would post my solution to the following.
Resizable column tables.
Search and replace values in a table. (IE only)
Scrollable tables.
Sortable tables.
It is based on a lot...
|
by: lynx129 |
last post by:
Hi there ,
I have php script that works fine under my server
but I dont know how to put the html code inside my site.
feedback.html
<html dir="rtl">
<head>
<title> ????? ??? </title>...
|
by: imtmub |
last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted.
Check this page for reference....
|
by: sateeshchandrasanga |
last post by:
Hi All,
My HTML code is working fine in Firefox.But its not displaying any thing in IE.Can you help me in this problem.And in Google crown its displaying but not properly.
...
|
by: happyse27 |
last post by:
Hi All,
I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |