Questions tagged [browsable]

37 questions
25
votes
3 answers

How to send headers in Django rest framework browsable API

How can I send headers in Django REST framework browsable API view, I am authenticating calls by matching a token and that is passed in headers. I can use that API in the postman and it's working great, but I want to give inputs for putting access…
Rohit Khatri
  • 1,980
  • 3
  • 25
  • 45
19
votes
6 answers

Conditional "Browsable" Attribute

Is there a way to make a "Browsable" attribute conditional, so the property that applies it will sometimes appear in the properties page and sometimes not? thanks :)
Idov
  • 5,006
  • 17
  • 69
  • 106
13
votes
4 answers

Making the Visual Studio designer ignore a public property

I have a UserControl with a public property using the following attributes: [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] I have tried deleting the owner form, re-creating a fresh form in Visual Studio…
Trevor Elliott
  • 11,292
  • 11
  • 63
  • 102
12
votes
3 answers

WPF toolkit DataGrid show fields even with browsable attribute set to false

Hi have an observable collection that I bind to a DataGrid using the itemsource property of the DataGrid. All the properties of the class inside the collection are displayed properly in the DataGrid. Now, I want to hide some fields to the DataGrid…
Jonathan
  • 11,809
  • 5
  • 57
  • 91
10
votes
6 answers

Django REST Framework: slow browsable UI because of large related table

I have a model in my API that has a foreign key to a table with tens of thousands of records. When I browse to that model's detail page in the browsable UI, the page load takes forever because it is trying to populate the foreign key dropdown with…
Neil
  • 7,042
  • 9
  • 43
  • 78
7
votes
1 answer

Android custom scheme not working on some devices

I have made custom scheme for my app by adding this to my activity in the android manifest:
Zelleriation
  • 2,834
  • 1
  • 23
  • 23
6
votes
1 answer

How do I create browsable intent in the android manifest?

I have an Android app that should open links sent via email. I only want to open links to a certain website, though. I know that opening youTube links provides the user with a dialog asking whether to open it in the browser or in the youTube app, so…
Phil
  • 35,852
  • 23
  • 123
  • 164
4
votes
1 answer

Handling links in my application

I want handle this URL but my code is not work true. http://melkplus.com/#!/property/details/765 Actually when I click on this URL, my phone does not suggest me my application and it just open by browser. I think application has problem with #! in…
4
votes
3 answers

C# Dynamic Attribute Arguments

Is there a way to do the following? I see that the Attribute Arguments must be a constant expression, so how would I work around this? If I dont want to load some properties into a datagridview using binding, whats the next best alternative? …
SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
2
votes
2 answers

DRF browsable API is not working in "django-rest-passwordreset" package

I am currently using django-rest-passwordreset package but when I go to reset-password endpoint DRF browsable API is not working (package doc mentioned that browsable API support is available). urlpatterns = [ path('password-reset/',…
2
votes
1 answer

Can't make my app appear in the chooser Android BROWSABLE

I'm taking a course on Android and we have a task, one of them is to make a program called "MyBrowser" that they provide to us to be able to appear in the chooser if another program sends an implicit intent, I have researched and found…
DJA
  • 313
  • 1
  • 2
  • 10
2
votes
1 answer

Hide Inherited Public Property from Visual Studio Designer / Properties Window

First, thank you for taking the time to read my question. I have spent a good amount of time on this issue with no success. I have created a Custom TextBox which inherits from TextBox. The Custom TextBox provides a more advanced suggestion drop-down…
2
votes
1 answer

Android - get file path of a selected pdf, doc, ppt or xls in my app

I am developing an android application. My AIM: If the user open the pdf, doc, ppt or xls files in any folder inside the SDCard (or) dropbox (or) email etc..., they must navigate into my app(In my app, I will do some process based on the files they…
SKK
  • 1,705
  • 3
  • 28
  • 50
1
vote
1 answer

I have a DLL program and am trying to update it with Descriptions but can't get them to work

I have a DLL program that I wrote a few years back and am trying to update it with Descriptions but can't get them to work. Here is my code:
1
vote
1 answer

How to hide a public property without making it private or removing it

Premise Suppose that we have a class in a dll with a simple public property "OldP". In a newer version of this dll, I want to change the name of this property in "NewP". I can't simply replace the property name, because this dll is used in a lot of…
Calaf
  • 1,133
  • 2
  • 9
  • 22
1
2 3