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
S

Sandilian

@Sandilian
About
Posts
16
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Load another web site page content into my Web Page Application
    S Sandilian

    Hi friends I have defalut.aspx page in My web Application. I want to load dynamic content into this page. for example if i have url "http://www.cricinfo.com" which contains html content right. so i want to load this content into my default.aspx page. Please help me how to do it?

    ASP.NET tutorial html com help question

  • Page_Load not fired in my .aspx code-behind
    S Sandilian

    ok man I have another suggestion for you. pdb files that vs is using for debugging are different than what the code is actually executing. so try to delete the aspnet temp file and rebuild it again than try the debug and use IE browser.

    ASP.NET debugging csharp help question

  • Page_Load not fired in my .aspx code-behind
    S Sandilian

    Hi in my point try to reset IIS and try the debug again. Go to run and type iisreset click ok.

    ASP.NET debugging csharp help question

  • How to check mouse paste event using javascript for IE and FireFox
    S Sandilian

    Hi all. i need help. i have two text boxes in Web application. When i enter data in first textbox second will enable automatically. i have written javascrit of onblur and onchanges and onkeyup event to enable the second textbox, it works fine but the problem is when i copied and pate it in first textbox throw the mouse event the second textbox is not enabled. i tried onpaste event but it does not help me to solve this problem. any idea to solve this problem?

    ASP.NET help javascript question

  • Store ISeriable Object in ViewState ?
    S Sandilian

    PL do not accept this type of declaration. that is the problem . Can you suggest me some way to solve this problem.

    ASP.NET xml help question

  • Store ISeriable Object in ViewState ?
    S Sandilian

    I want to store Custom Class object to ViewState for later use Note : I want to use ISeriable interface not [Serializable] property (When i use [Serializable] property, it is working fine but in my case i have to use only ISeriable Interface, I have option to store object into ViewState only not XML or File) PlZ help me. Sample.aspx Person oPerson = new Person(); oPerson.FirstName = "Sandilian"; oPerson.LastName = "Arumugam"; ViewState["Object"] = oPerson; Person cls1 = (Person)ViewState["Object"]; Response.Write(cls1.FirstName + " " + cls1.LastName); Person.CS //[Serializable] public class Person : ISerializable { private string _FirstName; private string _LastName; public string FirstName { get { return _FirstName; } set { _FirstName = value; } } public string LastName { get { return _LastName; } set { _LastName = value; } } public Person() { } public Person(string FirstName, string LastName) { this.FirstName = FirstName; this.LastName = LastName; } public void GetObjectData(SerializationInfo oInfo, StreamingContext oContext) { oInfo.AddValue("FirstName", this.FirstName); oInfo.AddValue("LastName", this.LastName); oInfo.SetType(typeof(Person)); } }

    ASP.NET xml help question

  • E-Commerce Web Application
    S Sandilian

    Dear Friends, I am developing E-Commerce Web Application in .Net 2.0 (Online Shopping Application for jewelles). I need some best links, Examples and books details about that. Regards, Sandilian A.

    ASP.NET csharp

  • Javascript Timer
    S Sandilian

    hai Friend. Please add window.opener='x' code before window.close <script language="jscript" type="text/javascript"> function startTimer1(h,m,s) { var today=new Date(); if(h=="0" && m=="0" && s=="0") { h=00; m=01; s=00; } else { if(s=="00") { s=59; if(m=="00" && h!="00") { h=parseInt(h)-1; m=59; } else if(m!="00" && h=="00") { m=parseInt(m)-1; } else if(m!="00" && h!="00") { m=parseInt(m)-1; } else if(s=="00" && m=="00") { if(h!="00") h=parseInt(h)-1; } } else s=parseInt(s)-1; } // add a zero in front of numbers<10 h=checkTime(h); m=checkTime(m); s=checkTime(s); var timerText=h+":"+m+":"+s; document.getElementById("<%=txtTimerId.ClientID%>").innerText=timerText; if(timerText =="00:00:00") { alert("Your time is Over,Now the Application is going to close"); /// This is the Code I added here; window.opener='x'; window.close(); return true; } t=setTimeout('startTimer1('+h+','+m+','+s+')',1000); } function checkTime(i) { if (i<10) { i="0" + i; } return i; } </script>

    ASP.NET javascript tutorial

  • Hide or Show Div
    S Sandilian

    Hai Here is the code try to use it. <script language="jscript" type="text/javascript"> function ShowDiv1(div1,div2) { document.getElementById(div2).style.visibility="hidden"; document.getElementById(div1).style.visibility="visible"; } function ShowDiv2(div1,div2) { document.getElementById(div2).style.visibility="visible"; document.getElementById(div1).style.visibility="hidden"; } </script> <div id="div1"> <asp:TextBox ID="txt1" Text="Hai" runat="server" ></asp:TextBox> </div> <div id="div2"> <asp:TextBox ID="TextBox4" Text="Good Noon" runat="server" ></asp:TextBox> <br /> <br /> </div> <asp:LinkButton ID="LinkButton1" OnClientClick="ShowDiv1('div1','div2'); return false;" runat="server" >LinkButton</asp:LinkButton> <asp:LinkButton ID="LinkButton2" OnClientClick="ShowDiv2('div1','div2'); return false;" runat="server" >LinkButton</asp:LinkButton>

    modified on Wednesday, April 9, 2008 6:21 AM

    ASP.NET

  • Dynamically inserting image into a crystal report
    S Sandilian

    Image comes from the data base. suppose when i select the Employee name based on that employee Image will be displayed. is it correct ? Tell me clearly. are you using Database Fields for Crystal Report field design and Typed DataSet as a Source.

    C# tutorial question

  • Hide or Show Div
    S Sandilian

    Hai fried This code works fine. do you want like this ?. <div id="div1" visible="false" runat="server"> hai </div> <div id="div2" visible="false" runat="server"> hai2 </div> <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">LinkButton</asp:LinkButton> <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">LinkButton</asp:LinkButton> protected void LinkButton1_Click(object sender, EventArgs e) { div2.Visible = false; div1.Visible = true; } protected void LinkButton2_Click(object sender, EventArgs e) { div2.Visible = true; div1.Visible = false; } check this code.

    ASP.NET

  • help
    S Sandilian

    Hai friend I think satellite Assemblies are the only solution to solve your problem. Try to understand the satellite Assemblies. check this link it might be help you. http://msdn2.microsoft.com/en-us/library/21a15yht(vs.71).aspx[^] http://www.codeproject.com/KB/aspnet/SatResourcesDemo.aspx[^] http://www.codeproject.com/KB/aspnet/SatelliteAssemblies.aspx[^]

    ASP.NET csharp asp-net design help

  • Datagrid inside dropdownlist control
    S Sandilian

    Hai visit this URL. You can find something useful. http://www.codeproject.com/KB/aspnet/DatagridWithDropdown.aspx[^]

    ASP.NET database tutorial

  • An exception of type 'Runtime Error' was not handled.
    S Sandilian

    I created a web Application. that web application has one Defaul.aspx Page. I added one Button on the default.aspx page. debugger; function CallMethod() { alert("Hai"); } I can't debugg my javascript.while running the web applicaion I got the Popup error message like below. --------------------------- Microsoft Development Environment --------------------------- An exception of type 'Runtime Error' was not handled. Would you like to debug the application? --------------------------- Yes No --------------------------- When i click no browser works fine. stil can't debugg the JavaScript. I checked the same code in my fried machine.i can debugg the javascript. if i click the Yes option Microsoft Development Environment is opened. and it points out the debugger word as an error in javascript. Please help me.

    ASP.NET debugging help javascript question workspace

  • Retrive item from datagridview in C# window application
    S Sandilian

    checking how many rows are selected in the grid. First column is check box column. this code will help to learn something int count =0; foreach (DataGridViewRow row in dgrdviewBranch.Rows) { bool selectrow = Convert.ToBoolean(row.Cells[0].Value); if (selectrow == true) { count += 1; } }

    C# help csharp database

  • Please help on regular expression
    S Sandilian

    /// using System.Text.RegularExpressions;(NameSpace for Regular Exprestion...) public static bool IsAlphaNumeric(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^[a-zA-Z0-9]*$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAlphaNumericWithSpace(String strToCheck) { Regex objAlphaNumericSpacePattern = new Regex(@"^[a-zA-Z0-9\s]*$"); return !objAlphaNumericSpacePattern.IsMatch(strToCheck); } public static bool IsNumericWithDot(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^[0-9.]*$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsNumeric(String strToCheck) { Regex objNumericPattern = new Regex(@"^[0-9]*$"); return !objNumericPattern.IsMatch(strToCheck); } public static bool IsAlphaNumericWithDot(String strToCheck) { Regex objAlphaNumericPattern = new Regex("[^a-zA-Z0-9.]"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAlphaNumericWithDotPeriodSpace(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^[a-zA-Z0-9\s.,]*$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAlphaNumericWithDotPeriodSpaceHyphen(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^[a-zA-Z0-9\s.,-]*$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAlphaNumericWithDotPeriodSpaceHyphenSlash(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^[a-zA-Z0-9\s.,-/]*$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAlphaNumericWithSlash(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^[a-zA-Z0-9/]*$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAmount(String strToCheck) { Regex objAlphaNumericPattern = new Regex(@"^(\d{1,12}|(\d{1,12}\.{1}\d{1,3}){1})$"); return !objAlphaNumericPattern.IsMatch(strToCheck); } public static bool IsAmountBECost(String strToCheck) { Regex objAmountPattern = new Regex(@"^(\d{1,8}|(\d{1,8}\.{1}\d{1,3}){1})$"); return !objAmountPattern.IsMatch(strToCheck); }

    modified on Tuesday, December 18, 2007 4:08:49 AM

    C# question regex help
  • Login

  • Don't have an account? Register

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