Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

webforms

Generate HTML file at runtime and send as email attachment

August 23, 2022 by Magenaut

I have a project requirement that we need to attach an HTML formatted log sheet to an email that gets sent to a user. I don’t want the log sheet to be part of the body. I’d rather not use HTMLTextWriter or StringBuilder because the log sheet is quite complex.

Categories ASP.NET, Q&A Tags asp.net, c#, email-attachments, webforms Leave a comment

Why are the checkboxes on my Webform invisible to the Control loop code?

August 23, 2022 by Magenaut

NOTE: This is related to previous questions here and here, but I think I’ve narrowed it down to a clearer understanding of what the problem is.

Categories ASP.NET, Q&A Tags asp.net, user-controls, vb.net, view-source, webforms Leave a comment

Creating An HtmlTable Using An ASP.NET Repeater Dynamically Bound to an Object List

August 23, 2022 by Magenaut

I’m creating a table inside a repeater programmatically. My problem is that the cells in the item template part don’t render properly. They are showing up as text nodes after the table’s markup. Does anyone have any suggestions on how to get the table cells rendering properly?

Categories ASP.NET, Q&A Tags asp.net, c#, webforms Leave a comment

How to get rid of the “default” form-element from a .aspx-page?

August 23, 2022 by Magenaut

As that web-standards geek I am, I dislike the default <form runat="server"> that surrounds my entire webpages. I’ve seen many ASP.NET based webpages that don’t have these, so it seems like it can be removed without taking away any functionality. How?

Categories ASP.NET, Q&A Tags asp.net, webforms Leave a comment

OnActionExecuting equivalent in standard asp.NET?

August 23, 2022 by Magenaut

Is there an equivalent for MVC.NET’s OnActionExecuting in standard asp.NET? ?

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc-3, c#, web-parts, webforms Leave a comment

DropDownList and Update Panel

August 23, 2022 by Magenaut

I develop address control, which contains 2 DropDownLists (for cities and countries) and several TextBoxes. The second DropDownList DataSource depends on the first DropDownList DataSource.

Categories ASP.NET, Q&A Tags ajax, asp.net, drop-down-menu, webforms Leave a comment

Can’t save byte[] array data to database in C#. It’s saving 0x

August 23, 2022 by Magenaut

I am trying to upload a file and save it’s binary content to my database field. Each time I try to save, it simply enters the database as 0x.

Categories ASP.NET, Q&A Tags asp.net, c#, sql-server-2008, stored-procedures, webforms Leave a comment

How to show dynamically generated datatable in reportviewer in asp.net?

August 23, 2022 by Magenaut

I’ve a ReportViewer(.rdlc) in my app. I want to show a datatable, which is generated dynamically from codebehind, in Reportviewer in Table object.

Categories ASP.NET, Q&A Tags asp.net, c#, rdlc, reportviewer, webforms Leave a comment

ASP.NET : Adding Restrictions to different webforms

August 23, 2022 by Magenaut

I am currently looking for some advise & help to how I can avoid people from accessing pages unless they are (1) Logged in , (2) Have the correct role to visit that page.

Categories ASP.NET, Q&A Tags asp.net, c#, roles, webforms Leave a comment

Disallow typing of few of characters e.g.” in all input textboxes using jquery

August 23, 2022 by Magenaut

How do I achieve this:-

When user types character like 'abcd' and then '>'(an invalid character for my application), I want to set the text back to 'abcd'. Better if we can cancel the input itself as we do in winforms application. This should happen when user is typing and not on a click of button.

Categories ASP.NET, Q&A Tags asp.net, javascript, jquery, webforms Leave a comment
Older posts
Newer posts
← Previous Page1 … Page22 Page23 Page24 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress