Questions tagged [clientid]

ClientId is about a the id property in the client applications such as applications written in html. Some technologies use the id property executed in the client-side, like html, javascript, cssand libraries based on these techonologies.

Javascript:

document.getElementById('productName').innerHTML = 'Some Text';

Css:

#productName {
   color: #f00;
   font-weight: bold;
}

Html:

<span id="ProductName"></span>
209 questions
156
votes
6 answers

How to find out client ID of component for ajax update/render? Cannot find component with expression "foo" referenced from "bar"

The following code is inspired from PrimeFaces DataGrid + DataTable Tutorials and put into a of a residing in a of a . Here is the inner part of the code (starting from p:tab component); the outer part is…
perissf
  • 15,979
  • 14
  • 80
  • 117
49
votes
2 answers

How to use JSF generated HTML element ID with colon ":" in CSS selectors?

I've been working with a simple Java EE project using JSF. I tried to set CSS via #phoneTable { ... }, however it doesn't work. Upon inspection of the HTML…
Dzung Nguyen
  • 9,152
  • 14
  • 65
  • 104
33
votes
8 answers

Is there a way to use "<%= someObject.ClientID %>" in an external javascript file?

Is there a way to use "<%= someObject.ClientID %>" in an external javascript file? If I use the code <%= someObject.ClientID %> in a script tag inside my as(c/p)x page, it works fine. On the rendered page, the ClientID is resolved. Howvever, if I…
Matt
  • 25,943
  • 66
  • 198
  • 303
33
votes
2 answers

Can I really not ship open source with Client ID?

Developer credentials (such as passwords, keys, and client IDs) are intended to be used by you and identify your API Client. You will keep your credentials confidential and make reasonable efforts to prevent and discourage other API Clients from…
Thomas
  • 4,208
  • 2
  • 29
  • 31
22
votes
5 answers

Client Id for Property (ASP.Net MVC)

I'm trying to do a label for a TextBox in my View and I'd like to know, how can I take a Id that will be render in client to generate scripts... for example: <%=Html.TextBoxFor(x=>x.Name) %> What do…
Felipe Oriani
  • 37,948
  • 19
  • 131
  • 194
22
votes
2 answers

C# asp.net Why is there a difference between ClientID and UniqueID?

I know ClientID is used for javascript and UniqueId for server side and that ClientID uses an underscore (_) and UniqueId uses a dollar sign ($) in asp.net 2.0. But what I don't get is why use two different id's. Why isn't possible to just OR use…
Martijn
  • 24,441
  • 60
  • 174
  • 261
19
votes
3 answers

Retrieving other component's client ID in JSF 2.0

Does JSF 2.0 have a built-in method for finding the client ID of another component? There are about a thousand client ID-related questions on SO and there are a lot of hackish methods to do this, but I'm wondering if JSF 2.0 brought a simpler…
cutchin
  • 1,177
  • 1
  • 8
  • 12
10
votes
7 answers

Set ClientID in asp.net

Is it possible to set the ClientID of any asp.net server control? How can I do this?
ebattulga
  • 10,774
  • 20
  • 78
  • 116
9
votes
3 answers

What is the correct setting of ClientIDMode in ASP.Net 4 to get ASP.Net 2.0 rendering.

We have just updated our application from ASP.Net 2.0 to ASP.Net 4.0. We have included in the web.config in the element: My understanding is that this is…
PilotBob
  • 3,107
  • 7
  • 35
  • 52
9
votes
0 answers

How to create client id and secret for canvas?

I am trying to integrate canvas into my application. so I have tried to implement oauth2 flow, i read this link https://canvas.instructure.com/doc/api/file.oauth.html Performing the OAuth2 token request flow requires an application client ID and…
silvesterprabu
  • 1,417
  • 10
  • 30
  • 46
8
votes
2 answers

Spotify API Illegal redirect_uri

I'm trying to progress through the Spotify developer API tutorial but when I try to access the user login page I get this error. I've triple checked that the URI in the code matches the one on MyApplications page but it still won't work. Here's the…
nmowery
  • 81
  • 1
  • 1
  • 2
8
votes
2 answers

How to secure Azure client Id and Secret without using App Settings of App Service

I am using Azure KeyVault to store my database credentials, Now to access it I have hardcoded client id and client secret in service code. How can I avoid this hard coding as its insecure? 1) I don't want to store client id and client secret in…
7
votes
3 answers

This client ID is globally unique and is already in use

I have created Android client id for expense.loremipsum.tracker for my app. Actually I have created 2 id, one for by Eclipse keystore and one is for my signed key store. My application is live so I can not change package. I have tried by deleting…
Bhavesh Hirpara
  • 22,255
  • 15
  • 63
  • 104
6
votes
6 answers

get control by clientID

i resolve a client id of a Repeater Item control, and i want to use it in other command, how cant i get the control by his client id? TextBox TB = FindControl...?
Roy Amir
  • 457
  • 1
  • 6
  • 15
6
votes
4 answers

ASP.Net: ClientID not correct in code-behind of a user control

The following code does not work. The markup is in a User Control and I suppose that's why ClientID returns the wrong prefix for the TextBox id. Markup:
cdonner
  • 37,019
  • 22
  • 105
  • 153
1
2 3
13 14