I am getting the following error -
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Ambiguous match found.
Source Error:
|
Source File: /MasterPages/RiddhiHomeMasterPage.Master Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055
-------------
I have checked all css classes, nothing is repeating ...
How to solve this ??
I tried making a new master page all together and again inheriting in in aspx page.
PLease help !
-------
Master Page File -
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="RiddhiHomeMasterPage.master.cs" Inherits="Aviation.MasterPages.RiddhiHomeMasterPage" %>
Khargesh RajputPosted Apr 15, 2015, 4:13 AM
Khargesh RajputPosted Apr 15, 2015, 6:58 AM
Riddhi ValechaPosted Apr 15, 2015, 6:56 AM
Thanks a ton.... Thanks a million !!
Riddhi ValechaPosted Apr 15, 2015, 4:04 AM
But after I add this text, how to make it scroll ??
How to use marquee tag ??
If I use
Khargesh RajputPosted Apr 13, 2015, 6:50 AM
list.Add("test1");
list.Add("test2");
list.Add("test3");
// Concat the list.
string concatstr = string.Concat(list);
span_ann.InnerText="Announcement"+concatstr;
Riddhi ValechaPosted Apr 13, 2015, 6:18 AM
var span_ann = new HtmlGenericControl("span_ann");
span_ann.InnerText = "Announcements";
-------
span_ann is the ID of span.
-----------
Now,
How to add
test 1 test 2 in span_ann in marquee tag ??
Khargesh RajputPosted Apr 13, 2015, 6:09 AM
span_ann but you have to concante data on span_ann
or you have to use data control to show text, as you told on label your text come below
Riddhi ValechaPosted Apr 13, 2015, 5:56 AM
Then, we can access it in aspx.cs page also....
If I use asp controls, then the design part is vanishing.
Khargesh RajputPosted Apr 13, 2015, 5:46 AM
because you have to show dynamic data
Riddhi ValechaPosted Apr 13, 2015, 5:39 AM
If I use label, the text comes below,
Current Design -
--------------
Output
Announcements > test 1 test 2 Happy Birthday Abc
-----------------
I want result as -
String - "Announcement >" should stay as it is.
String - "test 1 test 2" should move in marquee.
String "Happy Birthday" should stay as it is.
String "Abc" should move in marquee.
------
How to achieve this ??
Khargesh RajputPosted Apr 13, 2015, 4:10 AM
and add marque
Riddhi ValechaPosted Apr 13, 2015, 4:08 AM
I have to use "InnerText" property of div and span...
I have to display text values...that is it....
Khargesh RajputPosted Apr 13, 2015, 4:00 AM
like
onmouseout="this.start()" direction="left"
style="margin-top: 0px; margin-left: 6px;" class="style41">
Riddhi ValechaPosted Apr 13, 2015, 3:50 AM
Yes... this helped... Thanks a ton...
1 more thing ...
I have the following on aspx code -
-----------
I need the output as -
Announcements test 1 test 2
-------
Sting "Announcements" should remain in its place...
String - "test 1 test 2" are fetched from database and should be in marquee tag (moving from right to left )
---
How to achieve this ?
Khargesh RajputPosted Apr 13, 2015, 12:28 AM
Now here you can check cs page public partial class name should be same as in aspx
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="RiddhiHomeMasterPage.master.cs" Inherits="Aviation.MasterPages.RiddhiHomeMasterPage" %>
Riddhi ValechaPosted Apr 13, 2015, 12:20 AM
Yes... I have copied-pasted 1 entire master page and just re-named the page name...
That's all !
Khargesh RajputPosted Apr 12, 2015, 11:07 AM
Check cs page namespacename and in page directory in aspx has same name.or not
ramya bharathPosted Apr 12, 2015, 10:43 AM