postback


How to get the client id with ct100$


This is the extension to my previously asked question. I think I am not getting an answer. So I am describing it again.
I have this button inside radajaxpanel. I want to postback and I am am using the javascript code. Everything works fine
<asp:Button ID="btnSave" runat="server" Text="Save" OnClick="OnBtnExcel_Click" OnClientClick="PostBack(); return false;" />
rendered as
<input type="button" name="ctl00$ctl00$ctl00$MainContent$MainContent$MainContent$btnSave" value="Save" onclick="PostBack(); return false;__doPostBack('ctl00$ctl00$ctl00$MainContent$MainContent$MainContent$btnSave','')" id="MainContent_MainContent_MainContent_btnSave">
I am hard coding the id of button as 'ctl00$ctl00$ctl00$MainContent$MainContent$MainContent$btnSave' in the code below. is there a way to capture this ?
function PostBack() {
$find("<%= RadAjaxPanelFilter.ClientID %>").__doPostBack('ctl00$ctl00$ctl00$MainContent$MainContent$MainContent$btnSave', '');
}

Related Links

Google Wallet for digital goods stopped working
How SignalR manages connection between Postbacks
How to make false postback in asp.net mvc
How to stop postback in ajaxbeginform in asp.net mvc
Selenium2 WebDriver (Page factory) error after a postback (Element not found in the cache)
converting time in query using to_char
How do I find my C# panel controls?
Get TextBox values entered before postback
CalendarExtender loose his value on postback
passing values using viewstate across postback in multiview
How do I do an http request upon successful Inno Setup install, for tracking purposes?
calculate sum of two numbers in asp.net without postback
Textbox inside a Repeater inside a Custom Server Control loses values
client-side values of dynamic control on postback
postback (a la ASP.NET) in other frameworks?
Cant assign values to variable in a user control on ajax postbackā€¦ or something like that!

Categories

HOME
algorithm
google-app-engine
ecmascript-6
formal-languages
angular-formly
numbers
camera
google-cloud-functions
switch-statement
visual-studio-emulator
nuget-package
android-json
mvc5
nfs
modal-dialog
gruntfile
microsoft-dynamics-nav
simpleitk
comparator
roundup
mount
stackexchange
fable-f#
android-sharedpreferences
outliers
genexus-sd
datastax-enterprise-graph
sinch
boost-asio
panoramas
powershell-ise
carriage-return
installscript
slacktextviewcontroller
swagger-php
lint
dm-script
jvmti
unordered-map
datacachefactory
postgresql-8.4
avcapturedevice
jide
double-click
openresty
clarifai
scalding
context-sensitive-grammar
subnet
java-6
edit
otp
er-diagram
flyout
flac
juice-ui
pytables
redistributable
ziparchive
google-cloud-console
vulcanize
uicolor
udpclient
appscale
clipboard.js
angular-ui-typeahead
toast
custom-errors
morton-number
poppler
viola-jones
branch-and-bound
nsurlsessiondatatask
zend-currency
mmwormhole
document-repository
post-commit-hook
reflector
menubar
git-repo
ebay-lms
mvc-editor-templates
epiceditor
pclzip
tree-balancing
vfs
node-redis
filemerge
pylucene
xui
dataform
http-daemon
objective-j
delimited-text
message-passing
tui
visualj#
fdf
technical-debt
ifilter
wcf-proxy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App