|
it is not a assignment
it is one type of challenge to binding data in one grid-view with 2 different control..
the qus is if 1st page load the data can be bind at page load and then i select data like one dropdown and one text box in dropdown any value i select and text box those value selected value comes on selected dropdown list the i hit search data can bind in gride view
|
|
|
|
|
Member 13633154 wrote: it is not a assignment
Doesn't change the fact that we're not here to do your work for you.
Show us what you've tried, explain where you're stuck, including the full details of any errors, and we might be able to help you.
Post your assignment / challenge / list of requirements / etc. without showing any effort, and you won't get any help.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
i know output cache which is used to cache partial view like
ChildActionOnly]
[OutputCache(Duration = 10)]
public PartialViewResult PartialViewCacheChild()
{
return PartialView("_PartialViewForCache");
}
Donut Caching is different from [OutputCache(Duration = 10)] ?
how to cache my main full view ?
what is Donut Caching and what is its advantage?
please guide me. thanks
|
|
|
|
|
|
yes sir i found it. please have a look at this url Donut Hole Caching in ASP.NET MVC - Dotnet Helpers[^]
the above url show how to use donut caching
[OutputCache(Duration = 60)]
public ActionResult LoadNewsFeed()
{
ViewBag.CurrentDataTimeMessage = DateTime.Now.ToString();
return View();
}
they said they are using Donut Caching but used OutputCache attribute....is it right?
this link c# - Donut caching _Layout with mvcdonutcaching ASP.NET MVC - Stack Overflow[^] is saying
use [DonutOutputCache]. please guide me because i am new in Donut Caching.
which attribute i need to use for Donut Caching ?
in so many article i saw people are talking about Donut Caching but they are using OutputCache attribute....reason not clear.
thanks
|
|
|
|
|
The person in that post is using a third-party library to implement donut caching (I don't think it is supported natively but I might be wrong). Different libraries will have different implementation techniques, some much use new attributes, some might use parameters on helper methods etc. Just pick a library that does what you need and follow its implementation instructions.
|
|
|
|
|
yes Donut Caching is 3rd party.
i read few articles on Donut Caching but observe a weird things that article talking about Donut Caching but using OutputCache attribute which is related to asp.net mvc built-in caching.
they should use [DonutOutputCache] attribute when they are talking about Donut Caching.
can you tell me why they use OutputCache attribute when talking about Donut Caching ?
|
|
|
|
|
Mou_kol wrote: can you tell me why they use OutputCache attribute when talking about Donut Caching ?
Because in the context of ASP.NET, you will be using a combination of ChildActionOnly and OutputCache attributes to implement the "Donut Caching" technique.
|
|
|
|
|
Don't confuse yourself with the naming. Donut Hole Caching is a server-side caching technique in which the some portion of tge page is cached.
The tools for implementing donut hole caching are relatively simple: You just need the HtmlHelper ’s Action method and Partial Views . In the context of ASP.NET , you can implement the "donut caching" technique using a combination of ChildActionOnly and OutputCache attributes.
So the following code is actually implemeting a donut hole caching technique:
[ChildActionOnly]
[OutputCache(Duration = 10)]
public PartialViewResult PartialViewCacheChild()
{
return PartialView("_PartialViewForCache");
}
Fore more information, read: Speed Up Your ASP.NET MVC Application with Doughnut Hole Caching -- Visual Studio Magazine[^]
modified 21-May-18 22:32pm.
|
|
|
|
|
i like to know when we will be using donut hole caching then we do not have to use this attribute
[DonutOutputCache] am i right?
when i need to use this attribute
[DonutOutputCache] ?
thanks
|
|
|
|
|
|
Can anyone suggest me the proper ocr format for extracting a single block of text from image using c#.??
|
|
|
|
|
Anyone playing with Blazor here?
Having thoughts and experience you could share?
|
|
|
|
|
I've read about it but I haven't done any hands-on coding with it. It seems interesting to me and I'd like to try it out. I'll give you an update or perhaps make an article about it after trying it out.
|
|
|
|
|
I tried the getting started but all I got was a white page, with the <Router> tag in it, i.e. did not execute / expand to the full page with page content ...
I guess I will try again with 0.4 ...
Despite that, I'd say it looks promising!
I wonder how easy it will be to call a JavaScript API. I know they have interop (read about it). But if said API has zillion of method, like GoogleMap for example, I wonder how tedious it's gonna be...
|
|
|
|
|
Super Lloyd wrote: but all I got was a white page, with the <Router> tag in it, i.e. did not execute / expand to the full page with page content ...
Perhaps it has something to do with the version you used. Have you tried upgrading to the latest? See this short discussion here: https://github.com/aspnet/Blazor/issues/635
|
|
|
|
|
|
You bet! Goodluck with your exploration.
Now I'm excited to get my hands dirty with Blazor too.
|
|
|
|
|
And... it's now working!
Will study JavaScript interop later this week.. which is the feature the I wonder most about..
Everything else looks pretty slick yet obvious (for an MVVM, and VueJS addict that I am)!
Mm... better JS interop seems to be a TOD..
Javascript interop documentation · Issue #348 · aspnet/Blazor · GitHub
I hope they don't stick with the "current approach" where one has to laboriously do the foolowing for every single function:
// register
Blazor.registerFunction('doPrompt', message => {
return prompt(message);
});
// wrap
public static bool DoPrompt(string message)
{
return RegisteredFunction.Invoke<bool>("doPrompt", message);
}
modified 22-May-18 11:29am.
|
|
|
|
|
I have a question regarding Gridview in asp.net. I need Textbox for particular cell in Gridview column. I am using Visual studio 2015. Whether it is possible.
|
|
|
|
|
You already posted this vague question at [^]. Please post in one forum only.
|
|
|
|
|
|
For example, you can order dishes on handheld devices that run on your Iphone, Androi, winphone, restaurant, coffee shop, and so on. Any programming language that runs on the above devices, for example simple you have to share yourself with.
|
|
|
|
|