web stats analysis

Archive for August 14th, 2013

solve:using themed css files requires a header control on the page.(e.g)

using themed css files requires a header control on the page(e.g head runat=”server”/).

Solution is below:


you need a head tag with runat="server" in the page (or master page) as below.
<head runat="server">
<title></title>
</head>

It seems that you want to change the CSS file dynamically, if so, please refer this code.


HtmlHead head = (HtmlHead)Page.Header;
HtmlLink link = new HtmlLink();
link.Attributes.Add("href", Page.ResolveClientUrl("~/App_Themes/Default/website.css"));
link.Attributes.Add("type", "text/css");
link.Attributes.Add("rel", "stylesheet");
head.Controls.Add(link);

I feel none of the answers made above can resolve the actual issue faced by user
if the page is not meant to render html. In this case, the solution is – just paste following.


EnableTheming = "False" StylesheetTheme="" Theme=""

How to add ckeditor in asp.net?

How to set ckeditor in asp.net?

Follow below steps:

Step:1-Open New Project [File->New->Project-> ASP.NET Empty Web Application]
Step:2-Give Name the Project as you like, I named it “demoeditor”.
Step:3-Download file (CKEDditor.zip) file and extract.
Step:4-Find a bin folder when you extract the CKEditor.zip.
Step:5-Go to the Solution explorer.
Step:6-Right Click -> Add References->Browse.
Step:7-Then browse the bin folder of the extracted (CkEditor.zip).
Step:8-Select The Two DLLs(CKEditor.dll & CKEditor.Net.dll)
Step:9-Then click ok.
Step:10-There is a folder called ckeditor in small caps. Find the folder.
Step:11-Copy this folder and paste it in your project.
Step:12-Add a new aspx page to the project.
Then write below single line of code just before the HTML tag of your .aspx page.
This line will register the DLL file that you have just added & using the “TagPrefix” will call the CKEditorControl.


<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

Then add this div inside of the form tag of your aspx page.


<div>
<CKEditor:CKEditorControl ID="CKEditor1" BasePath="/ckeditor/" runat="server">
</CKEditor:CKEditorControl>
</div>
Build your project and then run.
You will find CKEditor with full features at your screen.
Then customize as per your requirements.
ckeditor in asp.net,how to add ckeditor in asp.net
how to implement ckeditor in asp.net.

How to Change the background color and position using css?

Change the background color and position using css.

Follow below css3:


div
{
width:100px;
height:100px;
background:red;
position:relative;
animation:myfirst 5s;
-webkit-animation:myfirst 5s; /* Safari and Chrome */
}

@keyframes myfirst
{
0%   {background:red; left:0px; top:0px;}
25%  {background:yellow; left:200px; top:0px;}
50%  {background:blue; left:200px; top:200px;}
75%  {background:green; left:0px; top:200px;}
100% {background:red; left:0px; top:0px;}
}

@-webkit-keyframes myfirst /* Safari and Chrome */
{
0%   {background:red; left:0px; top:0px;}
25%  {background:yellow; left:200px; top:0px;}
50%  {background:blue; left:200px; top:200px;}
75%  {background:green; left:0px; top:200px;}
100% {background:red; left:0px; top:0px;}
}

Note:- This example does not work in Internet Explorer 9 and earlier versions.

Error – “Invalid Payment Request” during integration? invalid payment request in ebs.

solution of Error – “Invalid Payment Request” during integration?
invalid payment request in ebs.

The solution is below:

You just,Check the domain from where the values passed to EBS server.
If not This should be the registered domain.you will get this error.

Ebs In Payment gatway ASP.NET,Invalid Payment Request on EBS payment Gateway,
Error in EBS payment gateway integration Other

How to give css3 imges transition Hover Effect?

css3 imges transition Hover Effect

Follow below css3:


div.box {
border-style: solid;
border-width: 1px;
display: block;
width: 100px;
height: 100px;
background-color: #0000FF;

border-corner-sheape:notch;
border-radius:10px;
}
div.box:hover {
background-color: #FFCCCC;
width:200px;
height:200px;

-moz-transition:width 5s, height 5s, background-color 5s, -moz-transform 5s;
-webkit-transition:width 5s, height 5s, background-color 5s, -webkit-transform 5s;
-o-transition:width 5s, height 5s, background-color 5s, -o-transform 5s;
transition:width 5s, height 5s, background-color 5s, transform 5s;
}

Css 3 imges transition Hover Effect,How to build hover and transition effects using css3?,Create modern CSS3 hover effects,
css transitions.

XML parsing fatal error:Invalid document structure,

Solution:XML parsing fatal error:Invalid document structure

Follow below Steps:

Step:1- Go to control panel.
Step:2- Click Tools->Folder Options.
Step:3- Click the View Tab.
Step:4- Click ‘Show hidden files and folders’.
Step:5- Click apply and ok.
Step:6- Go to C:/ApplicationData/Adobe/Dreamweaver/en_us/Configuration/Workspace.
Step:7- Create a new folder.
Step:8- Move all the files in that directory into this new folder.
Step:9- Restart.

Your problem has been solved.


How to change color of a column in datagridview?

change color of a column in datagridview?

Follow below solution:

Simply you just set DefaultCellStyle property for the selected columns.

Below the little demo of DefaultCellStyle property:

grid.Columns["NameOfColumn"].DefaultCellStyle.ForeColor = Color.Red;

Setting column colour in DataGridView,datagridview change row color,
datagridview change header color, datagridview change column name,
CSS of Photoshop text effects ,datagridview change column type,
datagridview change column header,datagridview change selection color,datagridview change font color,

How to give Text-shadow, Photoshop like effects using CSS?

Text-shadow, Photoshop like effects using CSS

Using css give different effect in Text-shadow,Photoshop.

The text-shadow property is use to give different effect.

The text-shadow property is used as follows:

text-shadow: 3px 3px 3px #000;

The above css, following text with a shadow 3px right and below of the text, which blurs for 3px: for click below image.

If anyone not using those browsers, here is a reference image (from Opera 9.5):for click below image.

Note:- This feature is NOT new in CSS3; it was originally proposed in CSS2.

Safari had it from version 1, however!

The following works in Opera, Konqueror, iCab and Firefox 3.1a, and looks really cool (or, rather, the opposite!)for click below image.

And below the reference image click on it:
How to give Text-shadow, Photoshop like effects using CSS,
Text-shadow, Photoshop like effects using CSS,Shadow Effect In CSS,
CSS of Photoshop text effects ,Using CSS Text-Shadow to Create Cool Text
Effects,give different Text-Effects.