Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6896027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:58:58+00:00 2026-05-27T06:58:58+00:00

https://i.stack.imgur.com/dVjHt.jpg I never understood the real usage of the Control , type , key

  • 0

https://i.stack.imgur.com/dVjHt.jpg

enter image description here

I never understood the real usage of the Control , type,key usages of this class.

In general Ive always used with : this , GetType() , "xx"

but now I truly want to understand .


msdn :

Control : ” the control that is registering the client script”

so…? what difference does it makes who registered it ? the script will be in the head of the page...

Type: “the type of the client script block”

type ??? its javascript. why does he want another type from me ?

Key: “a unique indentifier”

That I can understand – for cases which later to remove… but I’d love for some more advanced explanations

Can I have please , a real life scenario in which I TRULY have to play with those params ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:58:58+00:00Added an answer on May 27, 2026 at 6:58 am

    the most important part is Control
    which control in html tags you want to register the script
    for example if you have user control and you want to run the script just for that use this line

    ScriptManager.RegisterStartupScript(this, this.GetType(), "alertscript", "document.getElementById('userControl_h1TAG')", true); 
    

    but when you want to register the block and script to all part of that page use this line in CS code of user-control :

    ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "alertscript", "document.getElementById('page_h1TAG')", true);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am interested in retrieving this type of link from maps.google.com https://i.stack.imgur.com/2rInK.jpg At the
https://i.stack.imgur.com/FZyiq.jpg I've designed this layout and it works fine in my mind, but when
https://i.stack.imgur.com/2KxdM.png I have this segmented control that I made, however I don't know how
I've got a segmented control embedded within a TableViewCell: https://i.stack.imgur.com/4XFML.jpg It works fine on
How can i realize an UiTableWiev like this? https://i.stack.imgur.com/8QVb4.jpg I appreciate everyone who gives
Please take a look at this: https://i.stack.imgur.com/9UOhU.jpg The problem: The grid is drawn perfectly
Please look to this picture https://i.stack.imgur.com/A2RB2.jpg i want to get sum of money in
this is my layout (image): https://i.stack.imgur.com/wPx04.jpg What I want to do is make the
https://i.stack.imgur.com/3T1rj.jpg So I know how to recursively print a tree with 1 l and
I can't post images yet: https://i.stack.imgur.com/dJio5.jpg Using Actionscript 3 I'm drawing multiple Shapes onto

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.