|
you can set selectedrowstyle as
<selectedrowstyle backcolor="0xFFFFF">
Cheers!!
Brij
|
|
|
|
|
thanks for your reply..
where will a put this code?
Brij wrote: <selectedrowstyle backcolor="0xFFFFF">
thanks again.
jyn
|
|
|
|
|
Can anyone guide me how to access Microsoft Outlook public folder in asp.net2.0 application.
thanks
|
|
|
|
|
hi all
i have some variables on server side in a java script. when i change the value of these variables at server side. then how to reflact these variables value at client side automatically.
Thanks in advance
|
|
|
|
|
Dont ask twice.
Member 4732425 wrote: ave some variables on server side in a java script
Someone questioned this because it's plain retarded. No, you don't have any javascript on the server side. You may have variables on the server side which you then write to javascript, but if you do, tehn I'd assume a postback would automatically write the right values. Unless you're using AJAX, web sites are syncronous, a value can't change on the server while the client is looking at a page.
i think you need to explain better. A LOT better.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Take some HTML hidden controls .....put runat="server"
and when u update the variables put the values of variables in HTML hidden controls .
|
|
|
|
|
I think you have some variables at server side and you want these varaibles in clientside.You should use hidden variables as
<asp:hiddenfield id="test" runat="server" xmlns:asp="#unknown">
change this value at server side
and in Javascuipt
get clientid for this variable
as
var _hdnCtlSelectedItem = "<%=test.ClientID%>";
and access value like
var SelectedItemID = document.getElementById(_hdnCtlSelectedItem).value;
Cheers!!
Brij
|
|
|
|
|
hi all
i have some variables on server side in a java script. when i change the value of these variables at server side. then how to reflact these variables value at client side automatically.
Thanks in advance
|
|
|
|
|
<blockquote class="FQ"><div class="FQA">Member 4732425 wrote:</div>i have some variables on server side in a java script. </blockquote>
What does it mean ? Server Side in Java Script
<blockquote class="FQ"><div class="FQA">Member 4732425 wrote:</div>when i change the value of these variables at server side. then how to reflact these variables value at client side automatically.</blockquote>
I think you want to access Server side variable from Client Side
if yes then Try
<%= ServerSidevariable %>
cheers,
Abhijit
My Recent Article : Beginner's Guide to ASP.NET Application Folder
modified on Friday, December 12, 2008 12:28 AM
<div class="ForumMod">modified on Friday, December 12, 2008 12:29 AM</div>
|
|
|
|
|
I didn't get Javascript serverside variables.What it means?
Cheers!!
Brij
|
|
|
|
|
how to print a text file on client side?
Please give me some idea regarding this.
Thanks in advance.
|
|
|
|
|
You can't. If it's on the client side, you have no access to their file system. Unless IE lets you launch a window with a local URL. In that case, you could display it, but they would have to print it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have Webpage.On that page I had taken 6 buttons and I want to find that Buttons Controls Id's.I want write code for this in seperate class file.
Its urgent.Can any one help me.
|
|
|
|
|
These are server side buttons?
Cheers!!
Brij
|
|
|
|
|
Those buttons are server side controls
|
|
|
|
|
ArifShaikh wrote: Its urgent.
Funny thing is, it's not urgent to us at all. Please don't say this, it's kind of rude.
You can iterate over the Controls collection of the page ( you need to do this recursively ) and then find the controls that are buttons using the 'is' or 'as' keywords, and grab just their ids.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
salam
ya
hada kallah,
urdu font ki javascript ki zaroorat hai my us ko asp.net ke application me call karna cha raha hun take direct text box me urdu likh sakun
plz help me
best of luck
mufti asadi
|
|
|
|
|
Try it in English.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
PLZZ use standard language
Cheers!!
Brij
|
|
|
|
|
You're doing it again....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i soulved the my problam.
plz tell mee how call the font from my folder of application
|
|
|
|
|
hi,
I am using one user control to display some values in my Gridview. It displays the values at the initial page load, but the postback event the values of the user control is vanished. how can i track this problem.I am using the following code
<asp:TemplateField >
<ItemTemplate>
<uc2:MyControl ID="MC1" runat="server" EnableViewState ="true" causevalidation="false" CommandArgument='<%# CType(Container, GridViewRow).RowIndex %>' CommandName='<%# Eval("JWord") %>' OnBubbleCommand="gvMeaning_RowCommand"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField >
<ItemTemplate>
<asp:LinkButton ID="lb1" Text='<%# Eval("JWord") %>' runat="server" CommandArgument='<%# CType(Container, GridViewRow).RowIndex %>' CommandName='<%# Eval("JWord") %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
I am passing the same values to one linkbutton, it is working well.It retains its values after post back.Problem is only with my user control.
Please help..Thanks in advance.
|
|
|
|
|
Is your control databound ? Do you bind the data again on postback ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes ..i bind it again on postback!
|
|
|
|
|
EVery time you bind, all viewstate is lost. Bind in a if(!IsPostback) block, to only bind on first load, and then your viewstate will not be lost.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|