Skip to content

Magenaut

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

c#

Pass ASP.Net GridView from one page to another page

August 25, 2022 by Magenaut

I want to pass all the gridview value into another page
I have one gridview in PatientDetails.aspx page and one button as below

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

Stack Overflow Userpic generation (Identicons)

August 25, 2022 by Magenaut

i an creating a website in C# ASP.NEt and want to use a feature similar to Stack Overflow,
Every time a new user registers on the StackOverflow.com he is assigned a default user picture until he has a gravatar, Now every picture is different from the previous one, so it is sure it is generated, i want to know how can this be done in C#.

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

REST webapi URI GET with string instead of id not routing as expected

August 25, 2022 by Magenaut

I have the following example where the request is http://{domain}/api/foo/{username} but I get a 404 status code back. No other Get actions exist on this controller. Shouldn’t this work?

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c#, rest Leave a comment

In ASP.NET, how can I force the format of dates in a DropDownList to “DD/MM/YYYY”?

August 25, 2022 by Magenaut

I have to build a DropDownList with the dates of the last 7 days. I would like the DropDownList displays the date as “DD/MM/YYYY”. So I created a list of dates:

Categories ASP.NET, Q&A Tags asp.net, c#, datetime, drop-down-menu, format Leave a comment

system.web.mail vs system.net.mail

August 25, 2022 by Magenaut

System.Web.Mail was in .NET Framework v1.1

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

Invalid postback or callback argument error?

August 25, 2022 by Magenaut

I have two dropdownlists and I am filling one based on the other using javascript. In my javascript code I am calling for a webservice and with the results returned I fill the other dropdownlist. The problem is that after I have done that successfully the following error started to occur:

Categories ASP.NET, Q&A Tags asp.net, c#, javascript, visual-studio-2010 Leave a comment

How to remove the exact occurence of characters from a string?

August 25, 2022 by Magenaut

For Example, I have a string like :

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

Send data with jquery to an MVC controller

August 25, 2022 by Magenaut

I have an ASP.NET MVC3 app and when the user clicks on my anchor tag, I want to send 3 pieces of data to an action:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, javascript, jquery Leave a comment

Read HttpRuntime.Cache item as read-only

August 25, 2022 by Magenaut

I am using a HttpRuntime.Cache to store a list of objects that will be accessing frequently across sessions.

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

Maintaining viewstate of a repeater

August 25, 2022 by Magenaut

I have a problem whereby the viewstate of a repeater i.e. the controls within the repeater are not maintaing their viewstate.

Categories ASP.NET, Q&A Tags asp.net, asprepeater, c#, repeater, viewstate Leave a comment
Older posts
Newer posts
← Previous Page1 … Page369 Page370 Page371 … Page451 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