You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
691 B
16 lines
691 B
<%@ Page Language="C#" Debug="true"%>
|
|
<%@ Register TagPrefix="obout" Namespace="OboutInc.ColorPicker" Assembly="obout_ColorPicker" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>obout ASP.NET ColorPicker example</title>
|
|
<link rel="stylesheet" href="example_styles/style.css" />
|
|
|
|
<script runat="server" language="c#">
|
|
void Page_load(object sender, EventArgs e){
|
|
if(!IsPostBack){
|
|
picker.InitialColor = color.Style["background-color"] = previous.Style["background-color"] = "#FFFFFF";
|
|
}
|
|
}
|
|
private void Color_CallBack(object sender, ColorPostBackEventArgs e){
|