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
G

greekius

@greekius
About
Posts
90
Topics
58
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • make a page requieres Windows authentication in Form authenticated project
    G greekius

    Hi all; my project uses form auth. i want a page requires windows authentication.

    <?xml version="1.0"?>
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    <authentication mode="Windows">
    </authentication>
    </system.web>
    </configuration>

    but it still says

    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    how could i fix this issue?

    ASP.NET help windows-admin security xml question

  • Set timeout to asynchron calls
    G greekius

    I m coding primative Asynchron calling. How could i set timeout property to iasyncruslt or my beginxxxasync calls?

    C# question

  • Access page buttons in a custom control
    G greekius

    i have 2 button and a custom control,which contains a grid view, on page. i set datasource of gridview; sequentially rowdatabound and rowcreated events are raised. After the events are raised in custom control i need to hide buttons on page how could i do ? Note : button are in a server side div control. So i can set the display:none with javascript in control.

    ASP.NET javascript css sysadmin question

  • Asynchron
    G greekius

    In a Page (there is no async=true tag); i call a procedure asynchrously. Sometimes it calls the callback; sometimes not. Why do i face this reason?

    private void AsynchronProcedure()
    ....
    try
    {
    dbSqlConnection.Open();

            IAsyncResult asyncResult = dbSqlCommand.BeginExecuteNonQuery(MyCallBack, dbSqlCommand);
    
        }
        catch (Exception ex)
        {
    
        }
        finally
        {
            dbSqlConnection.Close();
        }
    
    
    }
    
    private void MyCallBack(IAsyncResult asyncResult)
    {
        SqlCommand dbSqlcommand = (SqlCommand)asyncResult.AsyncState;
        try
        {
            if (asyncResult.IsCompleted)
            {
                dbSqlcommand.EndExecuteNonQuery(asyncResult);
                
            }
        }
        catch (Exception ex)
        {
    
        }
    }
    
    C# question

  • [Thread: 13] ERROR - File does not exist.
    G greekius

    Event Type: Error [Thread: 13] ERROR - File does not exist. System.Web.HttpException: File does not exist. at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context) at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) For more information, WHY WHy Why why

    ASP.NET help

  • Asynchron Process
    G greekius

    no i call directly web service for example .... BeginWebMethod (...)

    ASP.NET database question

  • Asynchron Process
    G greekius

    In a web project i get some data from database. I intend to keep data in Session. i called the function asynchronously. but i wantto interrupt asynchron call and i wantto get data which is get untill i interrupted, How could i do?

    ASP.NET database question

  • Asynchron WebService
    G greekius

    In a project i wanted to call Webservice asynchronly nut i dont wantto wait for its response(i mean i dont want to wait until PageOnPreRender which asynchron tasks are complated). I m sure it will give a result. i no care when it is returned back.So my other process will go on. i have a change.

    Web Development

  • Stored Procedures Out Put Parameter Returns Null What is missed.
    G greekius

    i use sql 2005 server

    Database sharepoint database question workspace

  • Stored Procedures Out Put Parameter Returns Null What is missed.
    G greekius

    I created a table for keeping Configuration parameters. When i wanna get the value via stored proc, i got null. Could u check me my stored procedure pls.

    CREATE PROCEDURE [dbo].[sp_GetConfigurationParameter]
    @Key char(4),
    @Type char(4),
    @Value nchar OUTPUT
    AS
    SET NOCOUNT ON;
    SELECT @Value=[Value] FROM VpConfParameters WHERE [Type]=@Type AND [Key]=@Key

    To Try

    declare @Value nchar
    EXEC [sp_GetConfigurationParameter] 'DBNL','DEVE',@Value
    select @Value

    Result NULL :'(

    Database sharepoint database question workspace

  • Performance Counters always returns 0, 50 or 100.
    G greekius

    I intend to show CPU time on a Dundas Gauge Control. So i get the CPU time; but the value is always return 0; i survived the fd from 0 but now it returns 50 sometimes 100. but if i check the

    CPU_1PerformanceCounter.NextValue();

    on Quick Watch i see the reel values. if i press the REGENERATE button; it returns new reel value but

    fd = CPU_1PerformanceCounter.NextValue();

    never works; so it is not set the reel value to my fd variable.

    //CPU Counters
    PerformanceCounter CPU_TotalPerformanceCounter = new PerformanceCounter("Processor", "% Processor Time", "_Total");
    float fd = 0;
    do
    {
    fd = CPU_1PerformanceCounter.NextValue();
    } while (fd == 0);

    e.RealTimeValues.Add("CPU_Total", fd);

    ASP.NET performance

  • autosize Table td
    G greekius

    imagine a table with a row,two column on master page. table width is contstant first cell contains a Header Label Second cell contains a Greetings Message Label Greeting Message is contants for each page in web application. but Header is set at the page load event of each Page inherited from master page. i wanna lean Greeting message Label to right side of Header Label. How can i do ?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head><title>
    Untitled Page
    </title></head>
    <body>
    <form name="form1" method="post" action="Default6.aspx" id="form1">
    <div>
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNDcyNzY3Njg2D2QWAgIDD2QWBAIHDw8WAh4EVGV4dAUFZGVubWVkZAIJDw8WAh8ABRo8bWFycXVlZT5XZWxjb21lPC9tYXJxdWVlPmRkZD0SSw5QB1+A6TeCFC/vHSi8dhU8" />
    </div>

    <div>
        <input name="TextBox1" type="text" value="denme" id="TextBox1" style="width:346px;" />
        <input type="submit" name="Button2" value="ata" id="Button2" />
        <input type="submit" name="Button1" value="Button" id="Button1" />
        <table style="width: 700px">
            <tr>
                <td>
                    <span id="Label1">denme</span>
                </td>
                <td >
                    <span id="Label2"><marquee>Welcome</marquee></span>
                </td>
            </tr>
        </table>
    </div>
    

    <div>

    <input type="hidden" name="\_\_EVENTVALIDATION" id="\_\_EVENTVALIDATION" value="/wEWBAKzsMXJAQLs0bLrBgK7q7GGCAKM54rGBmx1oT2fU5q+sOR3MzYH/P3kbq7G" />
    

    </div></form>
    </body>
    </html>

    ASP.NET question html

  • MDI
    G greekius

    Get The parent form from MDIPArent property of child form, than nest it to a main form type class, then set visiblity to TRUE. FrmMain frmMain=this.MdiParent; frmMain.toolStripStaff.Visible = true; frmMain.toolStripCatalogue.Visible = true; frmMain.toolStripProduct.Visible = true; frmMain.toolStripOrder.Visible = true; frmMain.toolStripInventory.Visible = true;

    C# help question

  • SQL reporting services
    G greekius

    it is possible create Report without creating rdlc file? Ex_AppBL.ExBL ExBL = new Ex_AppBL.ExBL(); DataSet ds = new DataSet("DataSet1"); DataTable dt = ExBL.GetExDetails(4); ds.Tables.Add(dt); **ReportViewer1.LocalReport.ReportEmbeddedResource = "?????????";** Microsoft.Reporting.WebForms.ReportDataSource rds = new Microsoft.Reporting.WebForms.ReportDataSource(); rds.Name = "dsOrders_dtOrders"; rds.Value = dt; ReportViewer1.LocalReport.DataSources.Add(rds);

    ASP.NET database question

  • Show dynamic sql result set in Report Viewer
    G greekius

    Dataadapter.SelectCommand=GenerateDynamicSql(); i get SQL command from a function dynamically generated. so i cant add dataset.xsd

    ASP.NET database sysadmin question

  • Show dynamic sql result set in Report Viewer
    G greekius

    in aspx page, i have a reportviewer and ObjectDataSource as at below. <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" > </rsweb:ReportViewer> <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="SELECT" TypeName="DataSet1.Expenses"></asp:ObjectDataSource> in code protected void Page_Load(object sender, EventArgs e) { DataSet ds=new DataSet(); ... adp.fill(ds) ReportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WebForms.ReportDataSource("DataSet1", ds.Tables[0])); } i'm sure dataset contains a table, but Reportviewer it doesnt show the result,why?

    ASP.NET database sysadmin question

  • Validators and other controls
    G greekius

    thank you:S:)

    ASP.NET css help question

  • Validators and other controls
    G greekius

    on page i have requiredfield validatorss and buttons, how could i set up, if i click button1 let validators check textboxes, if i click button2, Validators do no action? it is a form, like i add some data to grid , at the bottom of the page, there is a SAVE button, i click the save button , Validators show error messages

    ASP.NET css help question

  • Displaying Images dynamically
    G greekius

    set text property of radio button to html code like "dingdangdong "

    ASP.NET graphics question html design sysadmin

  • how can i create an twinkle effect on windows start bar as msn does when a message get
    G greekius

    how can i create an twinkle effect on windows start bar as msn does when a message get?

    C# 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