Search

You searched for the word(s): userid:681196

Matching Posts

  • Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

    It's a while ago I did this, the meaning is that I solved this problem by creating an application in IIS. Note, IIS, not Visual Studio. A "step by step" instruction would be something like this: 1. Control Panel > Administrative Tools > Internet Information Services 2. Expand the server > Web Sites > Default Web Sites (or whatever location the site is) 3. Right-click the folder and choose "Properties" from the context menu 4. On the default "Directory"
    Posted to ASP.NET AJAX Control Toolkit (Forum) by HiTech2k on 10/28/2008
  • Re: ASCX inside GridView for Edit/Update/Delete TemplateField

    Actually I found that it was more flexible to extend the GridView class. Here's some partial sample code. In this way you can easily create your own grid by using reusable code. And the grid view can be used similar to the standard grid view. You can also give it customizable properties that appears in the designer. I think this class (with additional extensions) has saved us thousands of mouse clicks, not to mention the ease of getting grids to behave and look consistent. Just compile to a separate
    Posted to Data Presentation Controls (Forum) by HiTech2k on 2/1/2008
  • Exporting Gridview To Excel >with Images<

    I have tried to search this forum and googled without success for an approach to get images into excel when exporting the gridview. There are many approaches posted but most of them seem to use the "classic" Gridview->Excel that follows this pattern: Response.Clear() Response.AddHeader("content-disposition", "attachment; filename=ItemSearchResults.xls") Response.ContentType = "application/vnd.xls" Dim tw As New System.IO.StringWriter() Dim hw As New System
    Posted to Data Presentation Controls (Forum) by HiTech2k on 6/7/2007
    Filed under: export excel gridview images image jpg jpeg save as
  • ASCX inside GridView for Edit/Update/Delete TemplateField

    I was looking for a way to create a common look-and-feel for the grid views on the site I'm working on. Most gridviews tend to have edit/delete commands, hence, I came up with the following: <asp:TemplateField ShowHeader="False" > <EditItemTemplate> <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="True" CommandName="Update" ImageUrl="~/img/icons/approved18x16.gif" Text="Update" />&nbsp;<asp
    Posted to Data Presentation Controls (Forum) by HiTech2k on 6/5/2007
    Filed under: Template Controls GridView, Template Controls GridView DropDownList, TemplateField, ASP.NET 2.0 GridView databound, gridView itemTemplate, GridView, GridView asp.net
  • Re: open a Microsoft.Jet.OLEDB.4.0 connection to excel file read only

    You have to make sure that the file is closed so that the ASP.NET process can open it exclusively. Using the ADO drivers such as Excel and Access in ASP.NET is generally speaking a no-no, except for single-user scenarios. You can't expect multi-user database functionality from a single-user file-based driver. Due to its multi-user nature, ASP.NET is multithreaded. http://support.microsoft.com/kb/316675 http://msdn2.microsoft.com/en-us/library/aa719514(VS.71).aspx The only scenario where Excel/Access
  • Re: Automatic ASP.NET UI Generation

    Thanks JohanNL for pointing to this direction. Seems that this would be the "best" that Microsoft has come up with so far in ASP.NET database-based code automation. Just from an initial look, it appears that BLINQ is not integrated with the VS IDE or allows the kind of partial customizations I was looking for. Also the last update was over a half year ago so I am a bit concerned about the progress of the module. Googled up another solution, IronSpeed Designer, which is comprehensive but still not
    Posted to Web Forms (Forum) by HiTech2k on 1/31/2007
  • Re: Automatic ASP.NET UI Generation

    I'm sure you are familar with the process of databinding a control. Suppose I am performing the common process: 1. Drop a SqlDataSource on the page 2. Right-click, "Configure Data Source", pick connection string, Next, Pick Table/View, Pick Columns, Customize Where/Order By/Advanced, Next, Finish 3. Drop a GridView on the page 4. Show Smart Tag on GridView, Choose Data Source, Select DataSource dropped in Step 1 5. At this point, the Visual Studio environment automatically configures the columns
    Posted to Web Forms (Forum) by HiTech2k on 1/26/2007
  • Re: Why does Columns default to 100px and DetailsView to 125x50px?

    Thanks! Didn't check that button ... If anyone knows about the DetailsView default, please post.
    Posted to Web Forms (Forum) by HiTech2k on 1/26/2007
  • Why does Columns default to 100px and DetailsView to 125x50px?

    Dear all, Whenever I create tables, the columns tend to default to 100 px wide on each cell, which creates extra work in removing these formattings. Additionally, DetailsView always get set to 125px wide and 50px high. Is there any way I can avoid these default values to get set? Thanks for any advice!
    Posted to Web Forms (Forum) by HiTech2k on 1/25/2007
  • Automatic ASP.NET UI Generation

    Is there any generic, smart way to automate the generation of ASP.NET pages based on the underlying database? More often than not, the design of the UI is more or less a direct consequence of the data structure! Agree? E.g. I want to automate things such as... Generating a GridView based on criteria in underlying database ONLY, such as: - Center-format numeric values w./no wrap based on data type - Column headings from database 'description' field - Customizing DELETE statement of data source to
    Posted to Web Forms (Forum) by HiTech2k on 1/25/2007
Page 1 of 2 (20 items) 1 2 Next >