Hi everyone Pleasae can someone help me. I have created a custom ribbon and am trying to implement it in an ExcaleAddIn and have created all the neccessary xml for it along with it's events as follows: <pre><?xml version="1.0" encoding="UTF-8"?> <customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <tabs> <tab idMso="TabAddIns" label="ValueExplorer"> <group id="grpModel" label="Model Manager"> <button id="btnOpenModel" onAction="btnOpenModel_Click" label="Open Model" showImage="false" /> <button id="btnNewModel" onAction="btnNewModel_Click" label="New Model" showImage="false" /> <button id="btnPublish" onAction="btnPublish_Click" label="Publish VXP Model" showImage="false" /> </group> <group id="grpVersion" label="Version Manager"> <button id="btnNewVersion" onAction="btnNewVersion_Click" label="New Version" showImage="false" /> <button id="btnOpenVersion" onAction="btnOpenVersion_Click" label="Open Version" showImage="false" /> </group> <group id="grpObject" label="Object Manager"> <button id="btnNewObject" onAction="btnNewObject_Click" label="New Object" showImage="false" /> <button id="btnOpenObject" onAction="btnOpenObject_Click" label="Open Object" showImage="false" /> </group> <group id="grpUser" label="User Manager"> <button id="btnNewUser" onAction="btnNewUser_Click" label="New User" showImage="false" /> <button id="btnEditUser" onAction="btnEditUser_Click" label="Edit User" showImage="false" /> </group> <group id="grpScenario" label="Scenario Manager"> <button id="btnNewScenario" onAction="btnNewScenario_Click" label="New Scenario" showImage="false" /> <button id="btnActivate" onAction="btnActivate_Click" label="Activate" showImage="false" /> <button id="btnVarience" onAction="btnVarience_Click" label="Varience Report" showImage="false" /> <separator id="separator1" /> <button id="btnOpenScenario" onAction="btnOpenScenario_Click" label="Open Scenario" showImage="false" /> <button id="btnGroup" onAction="btnGroup_Click" label="Group Scenarios" showImage="false" /> <button id="btnSaveScenario" onAction="btnSaveScenario_Click" label="Save Scenario" showImage="false" /> </group> <group id="grpSensitivity" label="Sensitivity Manager"> <button id="btnNewSensitivity" onAction="btnNewSensitivity_Click" label="New Sensitivity" showImag
windhopper
Posts
-
Office Ribbon functionality -
Office Ribbon functionalityHi everyone Pleasae can someone help me. I have created a custom ribbon and am trying to implement it in an ExcaleAddIn and have created all the neccessary xml for it along with it's events as follows: <pre><?xml version="1.0" encoding="UTF-8"?> <customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <tabs> <tab idMso="TabAddIns" label="ValueExplorer"> <group id="grpModel" label="Model Manager"> <button id="btnOpenModel" onAction="btnOpenModel_Click" label="Open Model" showImage="false" /> <button id="btnNewModel" onAction="btnNewModel_Click" label="New Model" showImage="false" /> <button id="btnPublish" onAction="btnPublish_Click" label="Publish VXP Model" showImage="false" /> </group> <group id="grpVersion" label="Version Manager"> <button id="btnNewVersion" onAction="btnNewVersion_Click" label="New Version" showImage="false" /> <button id="btnOpenVersion" onAction="btnOpenVersion_Click" label="Open Version" showImage="false" /> </group> <group id="grpObject" label="Object Manager"> <button id="btnNewObject" onAction="btnNewObject_Click" label="New Object" showImage="false" /> <button id="btnOpenObject" onAction="btnOpenObject_Click" label="Open Object" showImage="false" /> </group> <group id="grpUser" label="User Manager"> <button id="btnNewUser" onAction="btnNewUser_Click" label="New User" showImage="false" /> <button id="btnEditUser" onAction="btnEditUser_Click" label="Edit User" showImage="false" /> </group> <group id="grpScenario" label="Scenario Manager"> <button id="btnNewScenario" onAction="btnNewScenario_Click" label="New Scenario" showImage="false" /> <button id="btnActivate" onAction="btnActivate_Click" label="Activate" showImage="false" /> <button id="btnVarience" onAction="btnVarience_Click" label="Varience Report" showImage="false" /> <separator id="separator1" /> <button id="btnOpenScenario" onAction="btnOpenScenari
-
PaginationGreat, Thanks for the help. I really appreciate it. Cheers
"Sex is not the answer, it's the question and the answer is yes"
-
PaginationThanks, it worked perfectly! Just inquisitive to know now. Is there a way to say something like "Page 1 of 10" instead of just the page number?
"Sex is not the answer, it's the question and the answer is yes"
-
PaginationI just want the report to display the page number in the footer but can't find how to do this?
"Sex is not the answer, it's the question and the answer is yes"
-
PaginationHi All I'm new to SQL reporting services and have bought a book on it but can't seem to find out how to do pagination on my reports. Can anyone help? Thanks in advance
"Sex is not the answer, it's the question and the answer is yes"
-
creating new control in code behindThink it may be because your label needs and id?
"Sex is not the answer, it's the question and the answer is yes"
-
Javascript implementationHi All I'm trying to implement some javascript into my asp project but am having difficulty displaying whai need to disply. The code looks as follows:
<script type="text/javascript">
var start = (new Date()).getTime();
var THRESHOLD = 2500; // a number we will calculate belowfunction speedTest() {
var duration = (new Date()).getTime() - start;
if (duration < THRESHOLD) {
// fast connection (display flash)
} else {
// slow connection (do nothing?)
}
}
</script>The problem is that i'm not too sure of the code i need to put in the if statement to to display a flash object. Can anyone please help?
"Sex is not the answer, it's the question and the answer is yes"
-
schedule calenderTry here http://www.codeproject.com/info/search.aspx?artkw=Calender[^]
"Sex is not the answer, it's the question and the answer is yes"
-
calenderI've never tried a scheduled calender but if you search here on code project i know there's a good example of one i just can't remeber where a saw it...
"Sex is not the answer, it's the question and the answer is yes"
-
How to add a contol(adrotator) in which pictures keep changing without refreshing the page??Try using html maybe with a marquee?
"Sex is not the answer, it's the question and the answer is yes"
-
calenderTry http://code.google.com[^]">
"Sex is not the answer, it's the question and the answer is yes"
-
Unable to upload with file Upload ControlI remember having a similar problem when using ajax and the fileupload control. I solved this by saving the fileupload path using viewstate to preserve the filename and path. That may help you...? :)
"Sex is not the answer, it's the question and the answer is yes"
-
Getting a users IP addressThanks Sherin, can't believe i missed that one.
"Sex is not the answer, it's the question and the answer is yes"
-
Getting a users IP addressDoes anyone have any clue of the code used to get a user's IP address? At the moment i'm using
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
but i'm having trouble implementing it and am not sure if it's the right method to use :~ Thanks
"Sex is not the answer, it's the question and the answer is yes"
-
Can any body Tell me about 64 bitShouldn't see any reason why not. Why don't you try testing it on the server 1st?
"Sex is not the answer, it's the question and the answer is yes"
-
Validation controlIn the design view of your page you can adjust the validation controls to show nothing or just leave the error message section blank.
"Sex is not the answer, it's the question and the answer is yes"
-
How to display images .jpeg, .jpg, .bmp, .png, & .swf(Flash images) under one control ?I realise this but Flash works similarily to videos when being displayed so try the example i gave you and modify the code so it works for you otherwise i'm sorry i don't know what else to suggest :)
"Sex is not the answer, it's the question and the answer is yes"
-
How to display images .jpeg, .jpg, .bmp, .png, & .swf(Flash images) under one control ?That shouldn't be a problem. Just edit the code where needs be to allow for this. So just put the code in event handlers of the next buttons and use a count to increment and decrement clicks on the buttons so the events are registered. I'm not 100% sure if it displays flash images but it can be used as a container for the player you mentioned that you downloaded. I know it definately works for images and as a container for a mediaplayer to display videos. Here's code for the video:
mplayer.Filename = "video.flv";
mplayer.autoStart = false;
ltlMplayer.Text = mplayer.getval();Hope that helps you
"Sex is not the answer, it's the question and the answer is yes"
-
How to display images .jpeg, .jpg, .bmp, .png, & .swf(Flash images) under one control ?Yup, a literal control. Here's an example:
literal.Text = "<img src=\"picture.jpg "\" />";
"Sex is not the answer, it's the question and the answer is yes"