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
P

Paramhans Dubey

@Paramhans Dubey
About
Posts
79
Topics
26
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to refresh the ASP.Net page after asynchronously updating the contents of page
    P Paramhans Dubey

    Mark Nischalke wrote:

    Asking for help is not rude. Asking an URGENT response is.

    let's finish this here. I apologize for being rude. and also i restate my question: I have a long running procedure which takes approx. 1 mins to complete. I am calling the method using a delegate and ICallBack. When my process completes the it raises an event which is handled on UI wherein I am assigning the datasource to grid but as this is a asynchronous update the updates are not visible on the Page. I cant use Update panel in my project. My question is that is is there any way to post back the page to the server without using Update Panel after asynchronously updating the page to show the updated contents.

    ASP.NET csharp css asp-net wpf wcf

  • How to refresh the ASP.Net page after asynchronously updating the contents of page
    P Paramhans Dubey

    Mark Nischalke wrote:

    Don't be rude. It may be urgent to you but not anyone else here.

    If asking for help is rudeness then I am sorry for being rude. My question is that is is there any way to post back the entire page to the server without using Update Panel.

    ASP.NET csharp css asp-net wpf wcf

  • How to refresh the ASP.Net page after asynchronously updating the contents of page
    P Paramhans Dubey

    Hi All, I am working on a ASP.Net web application wherein I am calling a class method Asynchronously to get the data from data base (using AsyncCallback) on page load. after the completion of this callback method raises an event. I'm handling the event on the asp.net page wherein I'm assigning the datasource to a grid view. Everything is going good except for the page is not getting refreshed after the event is getting fired. I have checked the datasource of the grid is assigned properly but the contents are not shown on the page. Please Note: I'm calling the method Asynchronously so after the event is fired and after assigning the data source to the grid and after data binding it i want to post back the page to the server so that the latest contents of the page are visible on the page. I want to refresh the entire page on that event. Please help its Urgent Thanks and Regards Paramhans

    ASP.NET csharp css asp-net wpf wcf

  • how to Log DAL exception and showing alert to user when exception occurs?
    P Paramhans Dubey

    Hi All, I am working on a 3-tier asp.net application. Currently I'm stuck up in a situation where I need to handle a specific type of exception (User Defined) in DAL and Show alert to the user if that exception occurs in DAL. I tried following things: 1) I raised that exception from the DAL and catch it in BLL and throw a new BLL exception to for that DAL exception and finally catch it in the UI layer to show the alert to the user. I've successfully implement this in my project. But there are some issues in this approach. First of all I feel this is not right way to do this as it may lead to performance related issues. Secondly, the application contains more than 500 pages and classes. so I need to attach additional catch block in every method to catch the BLL exception. which is the last option i'd like to take. 2) in second approach I logged the the DAL exception into a text file. but problem in this approach is that how could the UI layer know that exception has occurred and show the alert to the user. Is there any event in asp.net where i could handle all this activities? my question is what is the best approach to handle this type of situation? Will Exception handling block help me in this? I've tried reading many articles on this but i couldn't get an answer for my question? I might not be using right keywords for my search. Thanks in advance, Regards, Paramhans Dubey

    ASP.NET help question csharp asp-net design

  • ListBox SelectedItem
    P Paramhans Dubey

    Listbox2.Items.Add(Listbox1.SelectedItem.Text)

    C# question help

  • Preventing new number before if section is suppressed of blank
    P Paramhans Dubey

    Hi Sandeep, First of all thanks for ur reply. I've already checked the report like that but sub report is completely suppressed. the new page is only showing the header and footer of the page nothing else

    ASP.NET help tutorial question

  • Preventing new number before if section is suppressed of blank
    P Paramhans Dubey

    Hi All, I've designed a crystal report with a subreport in one of the report footer section. I wanted to print the subreport in new page so I select "New page before" option for that section also to avoid printing a blank subreport I select "Suppress if blank " option also suppressed the blank subreport. Now section is getting suppressed for blank report but a new page is being added into my report. Does anybody know how to avoid this situation? Please help me it's very urgent. Hope I've cleared my point.

    ASP.NET help tutorial question

  • saving the other information to database if no content is present in file upload control using asp.net with c#
    P Paramhans Dubey

    I have made some changes in the above reply

    if (FileUpload1.HasFile)
    {
    FileInfo branchinfo = new FileInfo(FileUpload1.PostedFile.FileName.Trim());
    byte[] branchcontent = new byte[branchinfo.Length];
    FileStream branchstream = branchinfo.OpenRead();
    branchstream.Read(branchcontent, 0, branchcontent.Length);
    branchstream.Close();
    cmdsave.Parameters.AddWithValue("@BranchPicture", (branchcontent == null ? DBNull.Value : branchcontent));
    }
    else
    {
    cmdsave.Parameters.AddWithValue("@BranchPicture", DBNull.Value);
    }

    ASP.NET csharp tutorial asp-net database

  • Display Date Validation as Checkbox in GridView Row
    P Paramhans Dubey

    Bind Your check box like this

    ASP.NET question

  • Problem with checkbox binding in DetailsView
    P Paramhans Dubey

    <UpdateParameters>
    <asp:ControlParameter ControlID="CheckBox1" Name="Field"
    PropertyName="Checked" Type="String" />
    </UpdateParameters>

    ASP.NET question wpf wcf xml help

  • Problem with checkbox binding in DetailsView
    P Paramhans Dubey

    Try This

    Checked='<%#(Eval("Field").ToString() == "true" ? true : false) %>'

    ASP.NET question wpf wcf xml help

  • Problem with checkbox binding in DetailsView
    P Paramhans Dubey

    what is the data type of your field you want to bind?

    ASP.NET question wpf wcf xml help

  • problem with Query
    P Paramhans Dubey

    Try this select top 1 PRODUCTID,u_price, max(qc_dt) dt from qc where PRODUCTID=1011 group by PRODUCTID,u_price order by qc_dt

    Database database help

  • Select value of DropDawnList Inside GridView
    P Paramhans Dubey

    try this

    foreach(GridViewRow gr in Gridview1.Rows)
    {
    string str = ((DropDownList)gr.FindControl("DropDowmList1")).SelectedValue;
    }

    Database

  • Select value of DropDawnList Inside GridView
    P Paramhans Dubey

    Try this code in selectedIndexChanged event of dropdownlist

    DropDownList ddl = (sender as DropDownList);
    string val = ddl.SelectedValue;

    Database

  • Select value of DropDawnList Inside GridView
    P Paramhans Dubey

    (GridView1.Rows[Index].findControl("DropDownList1") as DropDownList).SelecteedValue

    Database

  • How to wait for a window to appear before sending keystrok using sendkeys?
    P Paramhans Dubey

    Thanx anyways guys for your replies.

    C# question csharp help tutorial

  • How to wait for a window to appear before sending keystrok using sendkeys?
    P Paramhans Dubey

    By Replacing

    System.Diagnostics.Process.Start(Application.StartupPath + "\\dsnbackup.reg");

    with

    System.Diagnostics.Process.Start("RegEdit.exe", "/S " + '"'.ToString() + Application.StartupPath + "\\dsnbackup.reg" + '"'.ToString());

    solved my problem. /S is used for merger in silent mode.

    C# question csharp help tutorial

  • not able to insert the values
    P Paramhans Dubey

    <code>insertSQL += "workplace, job, skills)"; insertSQL += "VALUES ('"; you missed the )

    ASP.NET csharp help asp-net sysadmin security

  • Global variable in c#
    P Paramhans Dubey

    declare the array as static array.

    ASP.NET csharp data-structures tutorial
  • Login

  • Don't have an account? Register

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