Cayita: write responsive webapps in csharp
JavaScript C# CSS Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Cayita is a CSharp library for the Saltarelle compiler (, based on jQuery and Twitter's bootstrap, for writing responsive webapps that run in any modern web browser, using your favourite programming tools: C# and Visual Studio/Monodevelop.)

Saltarelle compiler allows you to write apps that run in any modern web browser, using your favourite programming tools: C# and Visual Studio or Monodevelop.

Saltarelle compiler gives you all the advantages of C#: OP, static type checking, IntelliSense (that really works) and lambda expressions when writing code for the browser.

Cayita extends the Saltarelle.Web.dll library adding some new usefull methods and classes, that streamline coding your app using only the C # language.

Form sample

var contact = new Div ("container");
new Form (contact, f=>{
	f.ClassName="well span8";
	UI.CreateRowFluid(f, row=>{
		new Div(row, p=>{
			new TextField(p, tf=>{tf.Name="firstname"; tf.Required=true; tf.Text="FirstName"; tf.Input.ClassName="span12"; });
			new TextField(p, tf=>{tf.Name="lastname"; tf.Required=true; tf.Text="LastName"; tf.Input.ClassName="span12"; });
			new EmailField(p, tf=>{tf.Name="email"; tf.Required=true; tf.Text="Email";tf.Input.ClassName="span12";});

			new SelectField<string>(p, sf=>{
				sf.Input.Add("", "Choose one...");
				sf.Input.Add("1", "General Customer Service");
				sf.Input.Add("2", "Suggestions");
				sf.Input.Add("3", "Product suport");
				sf.Input.Add("4", "Bug");

		new Div(row, p=>{
			new TextAreaField(p, tf=>{tf.Name="message"; tf.Rows=11; tf.Text="Message";tf.Input.ClassName="span12";});

		new SubmitButton(row, bt=>{  
			bt.AddClass("btn-primary pull-right");  

	f.SubmitHandler=fr=> AlertFn.Success(fr.FirstChild,"Message sent",true, 5000);

demo img


##Demo Demo at (