Is it possible to Implement Azure Ad Authentication in webforms without cookie authenticationtype ?
Can we implement the below code without using cookies public void Configuration(IAppBuilder app) { app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType); …
Command problem
Hi, I see that UserID0.Value is with the proper value 18 and there is the existing record with INT column user_id having the value 18. But it is not getting the record by the following command. Why? SqlCommand cmd = new…
Display all months from (today) and go back 14 months
I have a requirement to return a rolling 14 months to the app. I'm creating an WebAPI So, I need to go back 14 months from todays date. I have this so far, but drawing a blank: [HttpGet("[months]") //allows them to define the months to go…
Cannot download files in .Net 6
I have an MVC .Net Core 2.1 application. It has an action that generates a .csv file and returns it to download. Now, as this .Net version is not supported, I created a new application with .NET 6, and moved there my controllers, views etc. from the old…
Biztalk XSLT: how to use replace function ?
hi Experts, i have a scenario to convert the dateTime filed in XSLT via replace function input1: 2019-08-12T12:59:26+01:00 output1:1259 output2:+ output3:0100 How can i acheive this in xslt without calling the c# method or (CDATA)?
Why Do my Event Handlers have stopped working in Razor Component through Razor Class Library.
Hi, I have developed a nested Razor Components and placed in Razor Page through razor class library. Now I am using it , It is being displayed as it should be but My Event Handlers have been stopped working. You can get the details from…
ASP.NET: session in a dropdownlist only works in one panel.
I'm using a dropdown list where when selected it will filter data based on the selected branch in two panels. the problem is it will filter only one panel and ignore the other even though I added the session in both panels. this is my code: aspx…
In wpf or uwp how to know that the narrator has finished reading?
Hi After I turn on Narrator mode, I actively focus a TextBlock control and let it start reading. How do I know that it has finished reading? Thanks Hi After I turn on Narrator mode, I actively focus a TextBlock control and let it start reading.…
Is it possible to use WPF InkCanvas 's FitToCurve in real time?
I've been asked several questions in this regard. But still can't solve it. When the user draws a stroke I want the lines to be drawn smoothly. I want to correct the part where the coordinates are shaken due to the user's mouse shaking or hand…
Image Adjustments in Xamarin
Good Day All i have the following Image from this and i display the image like this and my xaml that shows the image is <ffimage:CachedImage x:Name="img_profile_picture" Aspect="AspectFill" …
TCP: While sending smaller data (15bytes) on frequenly causes timeout.
Hi, I am working on application (Xamarin) which communicates with hardware (acts as server). In mobile application, i am using TCP Client class to send data for every 100ms where server has timedout 800ms. Application is able to communicate for few…
Xamarin WeView not able to load render javascript styles when offline
My Application works fine when I am online and try to bind data to webview but when I am binding the data in offline mode then some of the styles are not rendering properly. I am using default Xamarin forms WebView. The Webview is binded with data…
How to get current Bahrain Date Time in Xamarin
Hi How to get current Bahrain Date Time in Xamarin i am using below code but getting error. public static DateTime GetBahrainTime() { DateTime BHTime; TimeZoneInfo UAETimeZone = TimeZoneInfo.FindSystemTimeZoneById("Arab Standard Time"); …
Javascript: replace /escape character
Hi. I am trying to do a javascript change location bookmarklet - if condition to replace with another URL javascript:if(location.host=='abc')(location.href='http://cde'+location.pathname+'\?test\=enable'); The code works fine, but the last ' comes as %27…
My First Call is being established and getting the data from the server while my second custom localhost call is being rejected by using Http.GetFromJsonAsync
Hi, I am trying to add custom component using razor.component and use in razor.view (in Asp.Net MVC Core 6). My First Call is being established and getting the data from the server while my second custom localhost call is being rejected. May be due to…
How to set Label in Xamarin Mobile Apps ?
Hi. I'm a Xamarin Newbies. I've this in Android Emulator How to change " SFA2 " into Sales Force ? Which file to open and modify Please help
Retain Listview datakey value within insert event handling.
I have a Listview bound to sqldatasource. I open the insert template from a add button within selected itemtemplate from page behind. I would like to store some of these itemtemplate values within insert template or retrieve these values when i insert a…
Location, Insets & Orientation
I need to get the X/Y location of several View(s). I am doing this using the GetLocationOnScreen, GetLocationInWindow & GetLocationInSurface methods (I wasn't sure what the difference was, since they seemed to be giving the same values). I am also…
i want to navigate from a page to an other page
0 i want to navigate from a page(not main page) which is in a tabbed page to a page when clicking on a button. i tried this : MainPage = new NavigationPage(new listofinterest()); MainPage = new TabbedPageMain() { BarBackgroundColor…
Custom Drawable Alignment
I have created the following Custom Drawable by inheriting from ShapeDrawable as follows: public class TextDrawable : ShapeDrawable { public override void Draw(Canvas canvas) { base.Draw(canvas); Paint textpaint = new Paint() { Color…