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
A

Abolfazl Sheikhloo

@Abolfazl Sheikhloo
About
Posts
69
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • java scipt for ajax in asp.net
    A Abolfazl Sheikhloo

    var getXmlHttpObject = function () { try { return new XMLHttpRequest(); } catch(e1) { try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e2) { try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e3) { return false; } } } } var xmlHttp = getXmlHttpObject(); xmlHttp.open('GET', 'getDetails.aspx', true); xmlHttp.onreadystatechange = readyStateChange; xmlHttp.send(null); var readyStateChange = function () { if(typeof xmlHttp == 'undefined' || !xmlHttp) return; if(xmlHttp.readyState == 4 || xmlHttp.readyState == 'complete') { var result = xmlHttp.responseText; var status = xmlHttp.status; if (status != 200 && status != 304) { if(status != 0) alert('Http Error : ' + status); } else callBack(result); } } function callBack(html) { // Do Anything }

    We Can Do Anything, If We Want It
    Easy Web Services in .net 2 - The Code Project - C# WebServices

    ASP.NET csharp java asp-net sysadmin tools

  • How use javascript function in codebeind file
    A Abolfazl Sheikhloo

    i agree.

    We Can Do Anything, If We Want It

    ASP.NET javascript

  • how can i create security image
    A Abolfazl Sheikhloo

    i want to create security image and use it in my website registration. i create that image on fly but cant place it in the part of page. i can use response.binarywrite(imagestream) but in this method, all of controls will be lost and only image is visible i want insert the created image in between DIV tag in part of page

    We Can Do Anything, If We Want It

    ASP.NET security question

  • Crystal Report Question
    A Abolfazl Sheikhloo

    u can use following method to fix your all problems. convert your ReportDocument to pdf file and show pdf file in browser. and code's of this method:

       System.IO.MemoryStream oStream;
    
       oStream = (System.IO.MemoryStream)rptDoc.ExportToStream(
    		CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
       Response.Clear();
       Response.Buffer= true;
       Response.ContentType = "application/pdf"; 
       Response.BinaryWrite(oStream.ToArray());
       Response.End();
    

    We Can Do Anything, If We Want It

    ASP.NET question help tutorial

  • databinding error [modified]
    A Abolfazl Sheikhloo

    a filed with the name 'vcode' does not exists in the grid datasource u must select vcode too.

    We Can Do Anything, If We Want It

    ASP.NET help wpf wcf

  • how I can use jscript file in asp 2.0
    A Abolfazl Sheikhloo

    i don't understand your question carefully. but u can use from this code:

    We Can Do Anything, If We Want It

    ASP.NET java html tools help

  • gridview
    A Abolfazl Sheikhloo

    use gridview.DataKeyNames property for fetching data from it. use gridview.DataKeyNames = "sid,... and more"; bind your grid. and for fetching it use string id = gridview.SelectedDataKey["sid"].ToString(); or string id = gridview.DataKeys[0 or 1 or 2 or 3 or ...]["sid"].ToString();

    We Can Do Anything, If We Want It

    ASP.NET css database help tutorial

  • Crystal Report In VB
    A Abolfazl Sheikhloo

    rpt1.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.Excel)

    We Can Do Anything, If We Want It

    ASP.NET tutorial question

  • error occur in adding dll
    A Abolfazl Sheikhloo

    i think no any solution for your question. your dll may be use any activex object that it's required to register in windows registery HKEYs. u most register your com class in windows registery. see your comm class help. We Can Do Anything, If We Want It

    ASP.NET help csharp asp-net com tutorial

  • JavaScript
    A Abolfazl Sheikhloo

    u have olready have a javascript function in page for example: function Sample() { alert("test"); } now u can use this code in page load: this.Controls.Add(new LiteralControl("func1();")); We Can Do Anything, If We Want It

    ASP.NET question javascript tutorial

  • Addin Table in panel at runtime
    A Abolfazl Sheikhloo

    u must override OnInit Event and place codes in this section or send me, your codes for check it and reply to u.

    We Can Do Anything, If We Want It

    ASP.NET

  • How to retrieve client's IP ??
    A Abolfazl Sheikhloo

    string ClientIp = Request.UserHostAddress;

    We Can Do Anything, If We Want It

    ASP.NET tutorial question

  • connectionStrings
    A Abolfazl Sheikhloo

    salam kheyli khoshhal shodam ke tedade iraniha dar in talar har ruz bishtar mishe. va amma moshkele shoma: shoma mitavanid dar file web.config yek klid mesle: ijad konid , jahate estefade az an: private SqlConnection conn = new SqlConnection(ConfigurationManager.AppSettings["connectionName"]); dar har gesmat az code garar dahid. dar zemn behtare ruye foldere Bin right click karde va componente System.Configuration ra add konid. My Real Email: abolfazl585@yahoo.com We Can Do Anything, If We Want It

    ASP.NET help

  • dinamic textbox in gridview
    A Abolfazl Sheikhloo

    can you say me that how to add dinamic textbox to templatefield

    We Can Do Anything, If We Want It

    ASP.NET css wpf wcf

  • dinamic textbox in gridview
    A Abolfazl Sheikhloo

    i am adding textbox to a column of gridview dinamically. 1 - if i use from OnRowCreated, its not applying in grid binding and must be postback page to apply it. 2 - if i use from OnDataBound, its apply in grid binding but lost box's in post back codes: 1 - OnRowCreated { e.Row.Cells[3].Controls.Add(new TextBox()); } 2 - OnDataBound { foreach(GridViewRow row in grid1.Rows) row.Cells[3].Controls.Add(new TextBox()); }

    We Can Do Anything, If We Want It

    ASP.NET css wpf wcf

  • Retreaving Session
    A Abolfazl Sheikhloo

    HttpContext.Current.Session

    We Can Do Anything, If We Want It

    ASP.NET tutorial

  • Help regarding popups
    A Abolfazl Sheikhloo

    function popup() { window.open('samplepage.htm'); } setTimeout('popup()',10000);

    We Can Do Anything, If We Want It

    ASP.NET help csharp

  • Paging through Recordset and Database
    A Abolfazl Sheikhloo

    no no no. you can manage your xml file for all users. your xml is simulated from database table or view. for example your xml contains 20,000 record and you need to all records but the database view contains 2,000,000 record and you don't need to all records. working with 20,000 records is faster than working with 2,000,000 records We Can Do Anything, If We Want It

    ASP.NET database performance tutorial

  • validation group
    A Abolfazl Sheikhloo

    you have to textbox's in webform and first box validationgroup property is validator1 and second box validationgroup property is validator2 if you add button to web form and set validationgroup property of button to validator1, then button only validate first box if set validationgroup property of button to validator2, then button only validate second box

    We Can Do Anything, If We Want It

    ASP.NET question

  • numeric text
    A Abolfazl Sheikhloo

    TextBox.Attributes.add("onkeypress","return (event.keyCode >= 47 && event.keyCode <=56"); and Place this code in Page_Load event or We Can Do Anything, If We Want It

    ASP.NET csharp asp-net
  • Login

  • Don't have an account? Register

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