|
<td>
Reward
</td>
here i want to change " Reward " dynamically
i will connect it to a resource file
tanx
modified on Saturday, June 13, 2009 2:36 AM
|
|
|
|
|
1 - don't ask the same thing twice, add to your original post
2 - check the checkbox not to interpert tags, if you want to add tags to your post, otherwise, we can't see them ( I fixed that for you )
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi Experts,
In my web form one drop downlist box is there, i fill the items like India, United states, United Kingdom, etc..my dropdown width only 35. if i select the united states. whole name not visible. i want visble whole name. right now it's not visible. i know it's possible through CSS. but i am not expert in CSS, pls suggest me any one.
Thanks & Regards
Rammohan
|
|
|
|
|
You need to make your drop down box visible enough to show the whole string in the first place. I don't believe css or even js can do string measuring, although you can store a width for each control and dynamically change it. You would use js, not css, for that.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
developed one asp.net project (merger) , i hv sucessfully run the project in the local host, & iwant to run the project in remote, so i creeate a virtual rectory and browse the home page it will run, after open the form i have click the add button
it will show the error message like this
"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application"
i am using windows xp
sql2000
|
|
|
|
|
Edit your posts, don't post them twice.
It looks to me like you've shown server side UI, which means two things.
1 - you don't really understand ASP.NET
2 - because when you're developing, the server is also the client, you would not notice your bugs until you deploy.
ASP.NET on the server, runs C# or VB.NET code to generate html. HTML and Javascript run on the client. If you show any UI in a .NET language, it will show on the server, thus freezing the server and breaking your application.
http://forums.asp.net/p/907491/1019440.aspx[^] is the first of literally hundreds of hits I got explaining this, by googling the error message you pasted here. Google is your friend, you should try using it. As for the error, your code is broken. You should do some reading on ASP.NET to try to understand it a little better, and obviously, remove all server side UI code.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
developed one asp.net project (merger) , i hv sucessfully run the project in the local host, & iwant to run the project in remote, so i creeate a virtual rectory and browse the home page it will run, after open the form i have click the add button
it will show the error message like this
"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application"
i am using windows xp
sql2000
|
|
|
|
|
Hi,
I am working on WPF stack panel. In this I am adding images to the stack panel dynamically. After add the images I need to move the slides in one position to another.
If any one have any idea on this please reply me. This is very much necessary for my application. If possible please send me a sample application.
Thanks in advance.
|
|
|
|
|
You should ask this in the WPF forum, ASP.NET has nothing to do with WPF. I can't answer your question without asking more, so if you ask in the right forum ( I am hoping you've not just spammed the whole site already ), I will ask there.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi all,
I have to display a modal popup on the click of a link button. the link button is inside the gridview and I have to pass the Id of the dataItem bound to the selected row to the modal popup. This I had successfully achieved using codebehind. But,now I am not suppose to write any server side code for this,hence I have show the modal popup using javascript.What I have tried uptil now is,
<br />
<script><br />
function showModalPopup(val)<br />
{<br />
document.getElementById('<%=chatCommentId_hf.ClientID%>').value=val;<br />
return $find('deleteBehavior').show();<br />
} <br />
</script><br />
--------------------------------------------------------------<br />
protected void gv_RowDataBound(object sender, GridViewRowEventArgs e)<br />
{<br />
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
((LinkButton)e.Row.Cells[2].FindControl("delete_lnk")).Attributes.Add("OnClick", "javascript:return showModalPopup(" + ((Label)e.Row.Cells[1].FindControl("ChatCommentId_lbl")).Text + ");");<br />
<br />
}<br />
}<br />
This is working properly but the modal popup does not wait to get the user response,it just disappears immediately.I want it to wait till the user clicks any button on the modal popup,as it happens in case of other modal popups.Any idea how can I achieve this.
Please help.
Thank You.
|
|
|
|
|
Place the gridview inside an update panel and that should resolve the issue.
Thanks
|
|
|
|
|
Hello,
I have a problem regarding XSD. I am trying to bind data in predefine xsd from predefine xml. And to upload that Product feed into Amazon. I have all ready uploaded my data to Amazon with the XML.But i am unable to upload with xsd so please help me that how can i do this.
|
|
|
|
|
|
Can't you pass the value as query string?
|
|
|
|
|
|
<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex ="0" HeaderCssClass ="accordionHeader" ContentCssClass ="accordionContent" FadeTransitions ="true" FramesPerSecond ="40" TransitionDuration ="250" AutoSize ="None" >
<Panes >
<cc1:AccordionPane ID="AccordionPane4" runat="server">
<Header >
<a href ="" onclick ="return false;" class ="accordionlink" >AccordionPane1
</a>
</Header>
<Content >
<asp:Image ID="Image1" runat="server" src="image002.jpg" />
some words
</Content>
</cc1:AccordionPane>
<cc1:AccordionPane ID="AccordionPane3" runat="server">
<Header >
<a href ="" onclick ="return false;" class ="accordionlink" >AccordionPane2</a>
</Header>
<Content >
ha ha ha ha ha h
hahah
ah
ah
ah
ah
ah
ah
ah
</Content>
</cc1:AccordionPane>
</panes>
</ccp:Accordion>
this is the code so how to pass value from another page to this page, i wanna to change SelectedIndex ="0" to the passed value?????
al hajjaj
|
|
|
|
|
You can use QueryString.
QueryString is a <name=value> pair that you can pass in your URL.
eg. www.<url>.com/Default.aspx?var1=1
when you click the above link, it will open the Default.aspx page and you will a QueryString variable which you access and use it's value on Default.aspx page
On Default.aspx page_load event, do this,
dim xyz as string = Request.QueryString("var1")
this will put 1 in xyz on page load.
Hope this will solve your problem.
|
|
|
|
|
thanks VikashGohil for your help.
but this way won't work.
because i want to pass a value to HTML(but it's AJAX component) cod not VB.cod!
so how can i pass value to HTML property?
you it just like you send value for table size!!
can we use GET or something like that?
al hajjaj
|
|
|
|
|
please somebody help me..........
how can i pass value to Accordion (SelectedIndex property )??????
al hajjaj
|
|
|
|
|
VikashGohil
i am so sorry your answer is right.
i am fool cuz i didn't add this :
Accordion1.SelectedIndex = xyz
thank you so much , and forgive me ,i am beginner.
al hajjaj
|
|
|
|
|
|
So i wam going to setup a internet hot spot. I want to create an asp.net page that the users needs to fill out info to use the web. Can this be done use asp.net page?
Thanks
miek
|
|
|
|
|
Michael Ruotolo wrote: I want to create an asp.net page that the users needs to fill out info to use the web. Can this be done use asp.net page?
Your question is not clear. Do you want to restrict users accessing websites until they fill the form? If yes, ASP.NET is not the obvious tool for that.
|
|
|
|
|
I am going to setup a host spot. So i want to limit there access to the internet until they fill the form. Then they get access to the internet. Its like when you go into a starbucks and have to pay for internt. I am just not going to charge just want to collet some info.
I guess you could call it a captive portal. Another example is when you go to a hotel and use there wifi. You have accept the aggremment then you can surf the web.
Thanks
Mike
|
|
|
|
|
Well, As I said, ASP.NET is not the correct tool for that. There will be third party applications out there and it is better to use them rather than reinventing the wheel.
|
|
|
|