User Profile

Collapse

Profile Sidebar

Collapse
shashi shekhar singh
shashi shekhar singh
Last Activity: Mar 12 '10, 11:46 AM
Joined: Aug 20 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I have already developed my application i want to embed my some part of application with database into msi file or exe file and send them to a diffrent user after that when he will download it then like any other softwares click it and my application sould be deployed automatically on that client side with the database as given in msi file....
    See more | Go to post

    Leave a comment:


  • shashi shekhar singh
    started a topic create application for intranet site
    in .NET

    create application for intranet site

    I want to create an intranet site on asp.net with database that should be run and deployed as a .exe file or .msi file on different computers.
    See more | Go to post

  • Respected Sir,

    I think in web.config by using <Httpmodules><H ttpmodules> and <httphandlers > <httphandlers > , i can restrict the file access from other pages, if you think so then please give me an idea how to do this actually this is really new for me ....

    thanx a lot ..
    See more | Go to post

    Leave a comment:


  • Thanx a lot for your reply , but i am facing a problem not by web.config location path element , actually problem is that when forms authentication authenticates a user then they are allowed to acess all the folder and i am not able to restrict them and it's true that files should be accessed by user by giving their same credential as he is given in the login page, but i only want to restrict them to access these (*.mht) files only on my Test Page...
    See more | Go to post

    Leave a comment:


  • Yes I am using forms authentication to authenticate user and location path attribute is set to a SecureFolder where login welcome ,test and result pages are stored and in which also all the .mht files are stored.
    please it's urgent..
    See more | Go to post

    Leave a comment:


  • shashi shekhar singh
    started a topic restricting files with global.asax

    restricting files with global.asax

    Respected Sir,

    I am really tired in solving of this issue that have been arises when i would like to restrict files to access only on my Test page , here i am retriving my files in iframe in Test page, problem occurs when a user authenticated themselves then they will be redirected on welcome page and he can access my files through welcome page on Browser by knowing my Folder Name. but i do'nt want to give permissions to access on welcome...
    See more | Go to post
    Last edited by Frinavale; Jan 14 '10, 07:41 PM. Reason: Please post code in [code]...[/code] tags. Added code tags.

  • Thanx a lot for your help , i heave solved my problem.

    but another problem occurs , when i try to access the files from the browser directly without going to login page on iis 7.0 then files are shown , Do you have any idea to restrict these files directly from the browser, i want to access these files only viewable on my test page in iframe and nothing anywhere else.
    is it possible by adding manged handler in iis 7.0. if...
    See more | Go to post

    Leave a comment:


  • thanx for your reply..
    here ia m sending little section of gridview , i think it wll be helpfull to analyse my problem .
    Code:
    <asp:GridView ID="QuestionView1" runat="server" AutoGenerateColumns="False" 
                              BackColor="#A0C0CF" BorderColor="#660033" 
                              BorderStyle="Outset" Height="226px" PageSize="1"
    ...
    See more | Go to post

    Leave a comment:


  • Respected sir,
    The above code is working properly in Visual Studio 2008 Debug mode but when i deployed this project on IIS 7.0 then it gives an error like above shown so please help me out....
    See more | Go to post

    Leave a comment:


  • Index was out of range. Must be non-negative and less than the size of the collection

    Respected Sir,
    I am facing problem when i try to deploy my website on iis 7.0 on test page.
    i have to display some .mht files on iframe in gridview and error looks like below,

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index...
    See more | Go to post

  • Respected Sir, I am sending you a function which is being called on Page_Load() event.......... ............... ....
    Code:
     private void checkdropdownlist(int selcted_question, string[] Block1, string[] Question_Label)
        {
    
            int max_quest_average = Convert.ToInt32(0.14 * selcted_question);
            int normal_quest_average = Convert.ToInt32(0.13 * selcted_question);
            int normal_quest_def = Convert.ToInt32(0.04
    ...
    See more | Go to post
    Last edited by Frinavale; Dec 10 '09, 02:03 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • Yes I have set Autopostback=tr ue for all the DropDownLists object, but only first one is doing PostBack and remaings DropDownLists are no making PostBack. As shown in my above code I have set all the DropDwnList objects AutoPostback Property to true but only dpdn_block.Auto PostBack occurs.

    and
    2nd Question is that
    I am developing page in which i have taken 2 update panels and all the server controls that i have needed...
    See more | Go to post

    Leave a comment:


  • postback problem in creation of dynamic dropdownlist.

    Respected Sir,
    I have to create multiple dynamic dropdownlist boxes and add items dynamically in <asp:table> server control but problem occurs , i.e. except of fist dropdown list no dropdownlist boxes are generating a postback.here is a code .
    Code:
    protected void Page_Load(object sender, EventArgs e)
        {
            int selected_question = (int)Session["selected_question"];
            if (!Page.IsPostBack)
    ...
    See more | Go to post

  • I am really new for this please give me some full description how to add existing folder in the Solution Explorer.I am using C# ,So please help me with c# example....
    See more | Go to post

    Leave a comment:


  • how to add existing item in solution explorer programtically.

    Respected Sir,
    I would like to know that, Is it possible to add existing item like folders in the Visual Studio 2008 solution explorer using C# dynamically?
    See more | Go to post

  • shashi shekhar singh
    started a topic disable back button of IExplorer

    disable back button of IExplorer

    Respected Sir,
    I am currently facing a problem in disabling the back Button of IExplorer.
    Actually I have taken two UpdatePanel on the page(Page A).
    At first when Page(Page A ) loads then Update Panel 1 Contents is showing it includes Textboxes, Timer and button(Start), On Clicking that Button (Start Button) Update Panel2 loads contains gridview. After this Button(Start ) .visible =false;
    Now when Update Panel 2 has...
    See more | Go to post

  • Respected Sir,

    I have made a Stored Procedure to generate the question_no which is unique in the database and these questions are physically stored on local hdd . So when i get these question_no then i want to display these questions on Iframe. I have stored all these questions on local hdd C:\\shashi\Ques tions with the name of Question_no.
    please help me out.....
    See more | Go to post

    Leave a comment:


  • Displaying file names in an ASPX page.

    Thanx you very much for your support Sir Frinavelle
    Respected Sir,
    Is it possible to call directory.getfi les("path","fil ename");
    Question :
    I would like to call files i.e. stored on local hdd in my c# application by passing parameter as a filename to a function.
    Actually i have made a stored procedure which gives me filenames randomly. now i would like retrive files which are stored in our...
    See more | Go to post

  • shashi shekhar singh
    started a topic insert rows dynamically

    insert rows dynamically

    Respected Sir,

    i want to check it out, when insert returns zero rows affected ?

    insert into Question_Copy(, column_name1,co lumn_name2,colu mn_name3)
    SELECT top 1 column_name1,co lumn_name2,colu mn_name3
    FROM tablename where column_name1 not in (select column_name1 from Question_Copy)
    --and column_name2 not in (select column_name2 from Question_Copy)
    and UNIT_CODE not in (select UNIT_CODE...
    See more | Go to post

  • When Button out side of the gridview has been clicked then how to determine which button raises the event to to give the source of iframe. ok if i found them by giving the condition
    on submit button click...
    Code:
    if(gridview1.pageindex==0 && btn.text="1")
    {
      btn1.enabled =false;
    }
    then it is true only for one postback when next button inside the gridview clicked then it's enabled property...
    See more | Go to post
    Last edited by Frinavale; Sep 11 '09, 01:07 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:

No activity results to display
Show More
Working...