Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

Denis Sabic

@Denis Sabic
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • popup window
    D Denis Sabic

    Hi, it looks like you are missing some quotation marks. Try this: string.Format(@"<script type=""text/javascript"">window.open('{0}', 'yourWin', '{1}');</script>" If that does not help, check your if-clauses. I tried the code myself and everything worked fine.

    ASP.NET javascript help

  • SharePoint And Calendar Control: cannot select anything
    D Denis Sabic

    Hi, i try to use the Calendar control in a SharePoint-Webpart. Everything looks fine, except that i cannot use any button within the control or select any date. I create an instance of the calendar within the CreateChildControls-EventHandler, I set my styles in the PreRender-Eevent, and render the Calendar. Calendar calendarControl; protected override void CreateChildControls() { calendarControl = new Calendar(); this.Controls.Add(calendarControl); SetStyles(); } public override void RenderControl(HtmlTextWriter writer) { calendarControl.RenderControl(writer); } private void SetStyles() { calendarControl.Style.Add("vertical-align", "middle"); calendarControl.BackColor = Color.WhiteSmoke; calendarControl.NextMonthText = "Next"; calendarControl.PrevMonthText = "Prev"; calendarControl.Style.Add("float", "left"); calendarControl.Style.Add("margin-right", "30px"); calendarControl.TodayDayStyle.BackColor = Color.LightBlue; calendarControl.SelectorStyle.BackColor = Color.Wheat; calendarControl.DayRender += new DayRenderEventHandler(calendarControl _DayRender); } protected void calendarControl_DayRender(object sender, DayRenderEventArgs e) { if(e.Day.IsOtherMonth) e.Day.IsSelectable = false; else e.Day.IsSelectable = true; } Any Ideas why this does not work?

    ASP.NET sharepoint wpf question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups