Web Forms :: Diamond Character Appearing In Front End
Mar 26, 2016Why the diamond character appearing in front end from back end (SQL Server)..
View 1 RepliesWhy the diamond character appearing in front end from back end (SQL Server)..
View 1 RepliesI create a menu structure from a compiled class that returns an unordered list with ~/ menu options. On my localhost, they show up as [URL]
I actually have to pass the Application Path to the function to prefix the URLs. The problem, however, is that we moved the application to our development server, and now the URLS show up as:
[URL]
[URL]
The website domain doesn't seem to be displaying.
My issue is that , need to change the column name(following format "Remove first character and after 3rd character insert colon") of the gridview (which is binded with XMLTextReader). Without changing directly XML file, Required to change the column name dynamically at runtime .
Performance.xml
<Performance>
<Departments>
<Heading>FS</Heading>
<S0015>1</S0015>
<S0020>2</S0020>
<S0025>5</S0025>
<S0030>5</S0030>
<S0035>6</S0035>
</Departments>
<Departments>
<Heading>BS</Heading>
<S0015>0</S0015>
<S0020>3</S0020>
<S0025>5</S0025>
<S0030>1</S0030>
<S0035>3</S0035>
</Departments>
</Performance>
Heading S0015 S0020 S0025 S0030 S0035
FS 1 2 4 5 6
BS 0 3 5 1 3
Required Format: Remove first character and after 3rd character insert colon (S0015 -- 00:15)
Heading 00:15 00:20 00:25 00:30 00:35
FS 1 2 4 5 6
BS 0 3 5 1 3
Norwegian character( å æ ø) does not show instead showing some strange character.
used function below:
utf8 = System.Text.Encoding::get_UTF8();
I looked up the msdn documentation and it says that InvalidUserName is thrown when it does not find the username in the database, which is fine because the user I am creating should not exist in the database. If I use test@example.com, it works, but if I try it with test.@example.com, the status from Membership.CreateUser is InvalidUserName.
View 1 RepliesHow to read character by character in line from text file?
View 1 RepliesI have a legacy MySQL database which stores the user passwords & salts for a membership system. Both of these values have been hashed using the Ruby framework - roughly like this:
hashedsalt =
Digest::SHA1.hexdigest("--#{Time.now.to_s}--#{login}--")
hashedpassword =
Digest::SHA1.hexdigest("#{hashedsalt}:#{password}")
So both values are stored as 40-character strings (varchar(40)) in MySQL. Now I need to import all of these users into the ASP.NET membership framework for a new web site, which uses a SQL Server database. It is my understanding that the the way I have ASP.NET membership configured, the user passwords and salts are also stored in the membership database (in table aspnet_Membership) as SHA1 hashes, which are then Base64 encoded (see here for details) and stored as nvarchar(128) data.
But from the length of the Base64 encoded strings that are stored (28 characters) it seems that the SHA1 hashes that ASP.NET membership generates are only 20 characters long, rather than 40. From some other reading I have been doing I am thinking this has to do with the number of bits per character/character set/encoding or something related.
So is there some way to convert the 40-character SHA1 hashes to 20-character hashes which I can then transfer to the new ASP.NET membership data table? I'm pretty familiar with ASP.NET membership by now but I feel like I'm just missing this one piece. However, it may also be known that SHA1 in Ruby and SHA1 in .NET are incompatible, so I'm fighting a losing battle.
I have menu's on the top of the web page and report viewer under it. Whenever I click on menu it drops down and goes in the back of report viewer instead showing menu on top of the report viewer. Code for the workaround?
View 2 RepliesI was wondering if you can make the image on top of another, as "bring to front".
View 2 RepliesI want add blank space infornt of hyperlink control in panel
[Code]....
[Code]....
I need to code a e-commerce site but about the front end I thought about building a "flowing" menu, how it works is, in the top row you have "Retail" and "Wholesale", if I move my mouse over the retail word I want in the next row, data to be loaded like the main categories if you clicked a category word, then in the 3rd row you get the sub categories then you can click on a subcategory name and then a 4rth row will appear with more subcategories, and so on and on, the reason for this is that the business has alot of sub categories going very deep down,
View 1 RepliesI just come across this W3C validation errors: I have a LinkButton1 on my .aspx file, and in my c# code I want to disable this LinkButton1 in certiain circumstance, hence i was using this code:
[Code]....
I was wondering how to create a front page news function with C# as the language.
Basically I want to be able to use a one of my forums in the category "Site Discussion" called "News" as a way to connect with the front page (homepage) of the site to display a few of the newest news articles each with a title, image, and a short blurb of what the post is about. Also I want them to have a link that connects to the news post in the forums.
***NOTE*** I am using YAF (Yet Another Forum) for my forums.
An example of this from another site is [URL]
As you can see in the above site in the "Today's Top Stories" section it shows 4 news posts (1 main, and 3 other top stories) and if you click on them it links to the news post (which is also accessible via the forums in the news section).
This is basically what I want to incorporate into my site, but using the YAF forums, note an admin console is also needed to do this, I have a serperate admin console that I will set-up for it basically that's when you write it and from there it displays on the front page and in the forums.
I want to store date in sql tabe wher the column date have datatype as DATE how can i store the date from asp form textbox to sql table.
for example
suppose if we want to store any name the we use ' " + TextBox1.Text + " '
so how it can possible when data is of date type?
I want to read a line character by character, in the sense I want to read each and every character on the line. can I can make that line as a string. breaking string into substrings ? if possiblw how.? I m unable to start. can anyone give the code.
View 7 RepliesI have a Java Script popup messae box that is displayed when an application user first displays the web page. Everything works great, but when the popup displays the background of the screen is white, with the popup in front of it. Instead I would like for the popup to be displayed in front of the web page after it has been rendered with all of the controls on it.
<%@ Page Language="C#" codebehind="Default.aspx.cs" inherits="Colso.Site.Default" masterpagefile="~/Master.Master">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
sb.Append("<script language='JavaScript'>");
sb.Append("alert('message to client')");
sb.Append("<");
sb.Append("/script>");
ClientScript.RegisterStartupScript(this.GetType(), "PopupSb", sb.ToString(), false);
}
</script>
<asp:Content id="contentPage" runat="server" contentPlaceHolderRoot">
// Controls not shown because I don't want too many lines
</asp:Content>
I seem to be having some challenges with the data I am retriveing from a Webpage using the Webclient class. The code works fine, however I observe that the regular expression is not picking up the negative or positive sign in the Daily_Movement data. For example, a daily movement can be -0.31 or +0.31 but the code is not picking the sign in front of the decimal values.Here is my code
[Code]....
I think where the problem lies is the part of the code Regex r1 = new Regex("<span class="quoteData">.*</span>"); It picks up the values between the tag quite well, but not the signs in front of it. [Code]....
Can you look at the page [URL] and tell me why the image at the top nav bar next to "subscribe | give a gift | customer service | " is not working? The link works, the page appears to be fine, but the image is not showing.
Here is the code (excerpt). I added the store link and image...
[Code]....
Masterpage contains submenus but they are not visible in IE8. Worked in IE6, Firefox, not so elegant in Safari. I thought ASP.NET was supposed to be browser independent?
View 6 Replies[code]....
I am trying to get these three fields on the screen while user enters I am retreving the user enter data on front end.. when I am debugging I am not seeing these fields..
On the view I am using beginForm
<% using (Html.BeginForm("Update", "Home", FormMethod.Post, new { @id = "id" }))
{ %>
my method..
public JsonResult Update(StudentInfo info)
{
///Update
return Json(Status.ToString());
}
when I see in info I am not getting these three fields..
I am very new to .Net and MVC specifically. I am building a site which will need a front end and a back end (admin site). I created a project and am developing the front end, now how do I start a back end for this site? Do I need to create a new solution? (what exactly is a "solution"?
View 2 Repliesmy background image is not appearing in other pages. in master page it appear and if the webforms is in the same level with masterpage it also will appear but if is different it will not.
View 8 RepliesI'm using a masterpage on my website and the images appear correctly on all pages except the secure pages. The login page is formatted correctly, its just the page that is held in the secure folder. Both the header and footer images are either not appearing or are formatted incorrectly.
Code from the masterpage is below:
[Code]....
Embedded Image in Email not appearing
[Code]....
I have a list with multiple selection enable, wen i do a loop in back end to see which items are selected it always just shows me the first one as selected only and everything else false.
View 2 Replies